Commit 72afaf41 by qwmqiuwenmin

fix

parent 8062dd26
......@@ -120,6 +120,8 @@ public class StaffApiServiceImpl implements StaffApiService {
userDTO.setName(staff.getStaffName());
userDTO.setUserid(staffId);
userDTO.setAlias(staff.getNickName());
userDTO.setExternalPosition(tab.getExtendPostion());
userDTO.setPosition(tab.getPostion());
if(activeFlag == 1) {
userDTO.setTo_invite(true);
}
......@@ -254,6 +256,8 @@ public class StaffApiServiceImpl implements StaffApiService {
tab.setNationCode("86");
tab.setSex(user.getGender() == null ? 1:Integer.parseInt(user.getGender()));
tab.setActiveFlag(1);
tab.setPostion(user.getPosition());
tab.setExtendPostion(user.getExternalPosition());
String staffId = staffService.add(tab);
Integer[] departmentId = user.getDepartment();
......
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