Commit af15d067 by qwmqiuwenmin

fix

parent fb07cf1e
......@@ -96,6 +96,10 @@ public class StaffApiServiceImpl implements StaffApiService {
hr.setErrorCode(1);
Integer activeFlag = staff.getActiveFlag();
staff.setActiveFlag(0);
Integer syncPostionFlag = staff.getSyncPostionFlag();
if(syncPostionFlag != null && syncPostionFlag == 1){
staff.setExtendPostion(staff.getPostion());
}
TabHaobanStaff tab = EntityUtil.changeEntityByJSON(TabHaobanStaff.class, staff);
String staffId = staffService.add(tab);
//调接口获取
......
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