diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/StaffServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/StaffServiceImpl.java index 57e29d2211..9d6504d673 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/StaffServiceImpl.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/StaffServiceImpl.java @@ -442,6 +442,8 @@ public class StaffServiceImpl implements StaffService { staffTransferRecordDTO.setRemarks(fromDTO.getRemarks()); staffTransferRecordService.save(staffTransferRecordDTO); //8.更改注册关系 + CustomerAgencyDTO agencyDTO = customerAgencyService.get(agencyId); + staffOrgRelation.setPids(agencyDTO.getPids()); staffOrgRelation.setOrgId(fromDTO.getOrgId()); staffOrgRelation.setOrgType(fromDTO.getOrgType()); staffOrgRelation.setUpdatedBy(null);