Commit ccc588d9 by 陶光胜

门店品牌变更

parent 4deaefb3
......@@ -532,6 +532,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
com.gic.store.dto.ClerkDTO dto = EntityUtil.changeEntityNew(com.gic.store.dto.ClerkDTO.class, clerkInfo);
dto.setNationcode(Constants.NATION_CODE);
dto.setEnterpriseId(enterpriseId);
dto.setPositionId(clerkInfo.getClerkPositionId());
//接口会验证
// 权限 、 手机号重复 、 导购名称重复 、导购code重复
return clerkApiService.saveOrUpdate(dto);
......@@ -721,6 +722,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
com.gic.store.dto.StoreGroupDTO storeGroupDTO = EntityUtil.changeEntityNew(com.gic.store.dto.StoreGroupDTO.class, storeGroupInfo);
//确保是新增入口
storeGroupDTO.setStoreGroupId(null);
storeGroupDTO.setEnterpriseId(enterpriseId);
ServiceResponse<Integer> result = storeGroupApiService.save(storeGroupDTO);
if (result.isSuccess()) {
return ServiceResponse.success();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment