|
@ -236,7 +236,7 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit |
|
|
customerGridEntity.setPid(entity.getPid().toString()); |
|
|
customerGridEntity.setPid(entity.getPid().toString()); |
|
|
customerGridEntity.setPids(StringUtils.join(StringUtils.split(entity.getPids(), ","), ":")); |
|
|
customerGridEntity.setPids(StringUtils.join(StringUtils.split(entity.getPids(), ","), ":")); |
|
|
customerGridEntity.setGridName(entity.getName()); |
|
|
customerGridEntity.setGridName(entity.getName()); |
|
|
customerGridEntity.setManageDistrict(entity.getName()); |
|
|
//customerGridEntity.setManageDistrict(entity.getName());
|
|
|
customerGridDao.updateById(customerGridEntity); |
|
|
customerGridDao.updateById(customerGridEntity); |
|
|
} else if (entity.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_DISTRICT_DEPT) || entity.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_STREET_DEPT)) { |
|
|
} else if (entity.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_DISTRICT_DEPT) || entity.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_STREET_DEPT)) { |
|
|
CustomerDepartmentEntity customerDepartmentEntity = new CustomerDepartmentEntity(); |
|
|
CustomerDepartmentEntity customerDepartmentEntity = new CustomerDepartmentEntity(); |
|
|