Commit eebaba93 by qwmqiuwenmin

fix

parent 9c2e5f1b
...@@ -495,7 +495,11 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -495,7 +495,11 @@ public class StaffApiServiceImpl implements StaffApiService {
index ++; index ++;
} }
userDTO.setDepartment(wxDepartmentIdArrIntegers); userDTO.setDepartment(wxDepartmentIdArrIntegers);
userDTO.setGender(staffDTO.getSex().toString()); try {
userDTO.setGender(staffDTO.getSex().toString());
} catch (Exception e) {
// TODO: handle exception
}
userDTO.setMobile(staffDTO.getPhoneNumber()); userDTO.setMobile(staffDTO.getPhoneNumber());
userDTO.setName(staffDTO.getStaffName()); userDTO.setName(staffDTO.getStaffName());
userDTO.setUserid(oldStaff.getWxUserId()); userDTO.setUserid(oldStaff.getWxUserId());
......
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