人员更新接口中如果是离职后再入职,直接启用

This commit is contained in:
yuxueliang0813 2025-06-04 11:41:40 +08:00
parent 5746057c7c
commit 6cc6e480fe
1 changed files with 2 additions and 2 deletions

View File

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