Browse Source

Merge branch 'dev_staff_info' into develop

master
zhaoqifeng 4 years ago
parent
commit
cfbb0c670c
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/StaffServiceImpl.java

2
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()); staffTransferRecordDTO.setRemarks(fromDTO.getRemarks());
staffTransferRecordService.save(staffTransferRecordDTO); staffTransferRecordService.save(staffTransferRecordDTO);
//8.更改注册关系 //8.更改注册关系
CustomerAgencyDTO agencyDTO = customerAgencyService.get(agencyId);
staffOrgRelation.setPids(agencyDTO.getPids());
staffOrgRelation.setOrgId(fromDTO.getOrgId()); staffOrgRelation.setOrgId(fromDTO.getOrgId());
staffOrgRelation.setOrgType(fromDTO.getOrgType()); staffOrgRelation.setOrgType(fromDTO.getOrgType());
staffOrgRelation.setUpdatedBy(null); staffOrgRelation.setUpdatedBy(null);

Loading…
Cancel
Save