人员更新接口中如果是离职后再入职,直接启用
This commit is contained in:
parent
5746057c7c
commit
6cc6e480fe
|
@ -149,8 +149,8 @@ public class DobeDWpersonUpdateTask extends AbstractTask implements Plugin {
|
||||||
}
|
}
|
||||||
//判断当前用户是否已被禁用,如果是,则说明离职后再入职,需要更新为启用以及清空OA绑定的标记
|
//判断当前用户是否已被禁用,如果是,则说明离职后再入职,需要更新为启用以及清空OA绑定的标记
|
||||||
if(!currentUser.getBoolean("enable")){
|
if(!currentUser.getBoolean("enable")){
|
||||||
dataMap.put("enable", true);//人员禁用-变为启用
|
dataMap.put("enable", "1");//人员禁用-变为启用
|
||||||
dataMap.put("isforbidden", true);//用户禁用-变为启用
|
dataMap.put("isforbidden", "1");//用户禁用-变为启用
|
||||||
// dataMap.put("qeug_flag", false);//OA绑定-变为未绑定
|
// dataMap.put("qeug_flag", false);//OA绑定-变为未绑定
|
||||||
}
|
}
|
||||||
//处理部门和职位
|
//处理部门和职位
|
||||||
|
|
Loading…
Reference in New Issue