Commit 33f0de9f by qwmqiuwenmin

fix

parent 4b0b487e
......@@ -592,8 +592,8 @@ public class StaffApiServiceImpl implements StaffApiService {
}
//修改
}else{
staff.setHeadImg(headPic);
staff.setStaffName(staffName);
// staff.setHeadImg(headPic);
// staff.setStaffName();
List<StaffDepartmentRelatedDTO> relatedList = this.listStaffDepartmentByStaffId(staffId);
Map<String,StaffDepartmentRelatedDTO> map = com.gic.commons.util.CollectionUtil.toMap(relatedList, "departmentId");
String departmentIds = "";
......@@ -619,8 +619,8 @@ public class StaffApiServiceImpl implements StaffApiService {
ClerkDTO clerkDTO= clerkService.getClerkByCodeNoStatus(enterpriseId,code);
if(clerkDTO != null){
logger.info("【员工修改】clerkDTO={}",JSON.toJSONString(clerkDTO));
clerkDTO.setClerkName(staffName);
clerkDTO.setPhoneNumber(phoneNumber);
clerkDTO.setClerkName(staff.getStaffName());
clerkDTO.setPhoneNumber(staff.getPhoneNumber());
clerkService.updateClerk(clerkDTO);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment