|
|
@ -233,7 +233,7 @@ public class StaffServiceImpl implements StaffService { |
|
|
|
customerAgencyService.update(oldAgencyDTO); |
|
|
|
//新组织总人数加一
|
|
|
|
CustomerAgencyDTO newAgencyDTO = customerAgencyService.get(fromDTO.getAgencyId()); |
|
|
|
newAgencyDTO.setTotalUser(newAgencyDTO.getTotalUser() - NumConstant.ONE); |
|
|
|
newAgencyDTO.setTotalUser(newAgencyDTO.getTotalUser() + NumConstant.ONE); |
|
|
|
customerAgencyService.update(newAgencyDTO); |
|
|
|
//5.逻辑删除工作人员原组织加入的部门、网格,部门、网格总人数减1
|
|
|
|
customerDepartmentService.updateDepartment(fromDTO.getStaffId()); |
|
|
|