|
|
@ -258,6 +258,10 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
|
customerGridEntity.setAreaCode(customerAgencyDTO.getAreaCode()); |
|
|
|
customerGridEntity.setCustomerId(customerAgencyDTO.getCustomerId()); |
|
|
|
customerGridEntity.setPid(addGridFormDTO.getAgencyId()); |
|
|
|
customerGridEntity.setCode(addGridFormDTO.getCode()); |
|
|
|
customerGridEntity.setGridType(addGridFormDTO.getGridType()); |
|
|
|
customerGridEntity.setContacts(addGridFormDTO.getContacts()); |
|
|
|
customerGridEntity.setMobile(addGridFormDTO.getMobile()); |
|
|
|
|
|
|
|
//新增area_code,部门的area_code=所属组织的area_code
|
|
|
|
customerGridEntity.setAreaCode(null != customerAgencyDTO && StringUtils.isNotBlank(customerAgencyDTO.getAreaCode()) ? customerAgencyDTO.getAreaCode() : StrConstant.EPMETY_STR); |
|
|
@ -296,6 +300,10 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
|
customerGridDTO.setGridName(editGridFormDTO.getGridName()); |
|
|
|
customerGridDTO.setUpdatedBy(tokenDto.getUserId()); |
|
|
|
customerGridDTO.setId(editGridFormDTO.getGridId()); |
|
|
|
customerGridDTO.setCode(editGridFormDTO.getCode()); |
|
|
|
customerGridDTO.setGridType(editGridFormDTO.getGridType()); |
|
|
|
customerGridDTO.setContacts(editGridFormDTO.getContacts()); |
|
|
|
customerGridDTO.setMobile(editGridFormDTO.getMobile()); |
|
|
|
baseDao.editGrid(customerGridDTO); |
|
|
|
|
|
|
|
return new Result(); |
|
|
|