Commit 31795ea8 by qwmqiuwenmin

fix

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