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