人员离职后再入职禁用状态更为启用

This commit is contained in:
yuxueliang0813 2025-06-17 18:18:08 +08:00
parent d4c4153621
commit ebfe4aabfa
1 changed files with 2 additions and 2 deletions

View File

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