fix 81824 未符合项跟踪流程-转办的情况,人员信息处多次回显了

This commit is contained in:
lijiarao
2024-02-07 09:24:11 +08:00
parent e34859142f
commit d05ede1d6c
@@ -241,9 +241,6 @@ public class ProcessProjectNotMetService extends ServiceImpl<ProcessProjectNotMe
lawsEvaluationNotMetService.update(wrapper); lawsEvaluationNotMetService.update(wrapper);
} }
if (!Objects.equals(userId,originUserId)){ if (!Objects.equals(userId,originUserId)){
List<String> userIdList = new ArrayList<>();
userIdList.add(userId);
processHandleService.saveNodeUserLink(processDTO.getProcessInstanceId(), ProcessProjectNotMetCommon.ZGJLDSP, userIdList);
LambdaUpdateWrapper<ProcessProjectNotMet> updateWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<ProcessProjectNotMet> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(ProcessProjectNotMet::getId,businessId); updateWrapper.eq(ProcessProjectNotMet::getId,businessId);
updateWrapper.set(ProcessProjectNotMet::getManagerLeaderId,userId); updateWrapper.set(ProcessProjectNotMet::getManagerLeaderId,userId);
@@ -279,9 +276,6 @@ public class ProcessProjectNotMetService extends ServiceImpl<ProcessProjectNotMe
} }
} }
if (!Objects.equals(userId,originUserId)){ if (!Objects.equals(userId,originUserId)){
List<String> userIdList = new ArrayList<>();
userIdList.add(userId);
processHandleService.saveNodeUserLink(processDTO.getProcessInstanceId(), ProcessProjectNotMetCommon.FGGCSSP, userIdList);
runtimeService.setVariable(executionId,ProcessProjectNotMetCommon.STANDARDS_ENGINEER,userId); runtimeService.setVariable(executionId,ProcessProjectNotMetCommon.STANDARDS_ENGINEER,userId);
} }
// 完成任务 // 完成任务
@@ -334,9 +328,6 @@ public class ProcessProjectNotMetService extends ServiceImpl<ProcessProjectNotMe
wrapper.in(LawsEvaluationNotMet::getId,projectNotMetIdList); wrapper.in(LawsEvaluationNotMet::getId,projectNotMetIdList);
lawsEvaluationNotMetService.update(wrapper); lawsEvaluationNotMetService.update(wrapper);
if (!Objects.equals(userId,originUserId)){ if (!Objects.equals(userId,originUserId)){
List<String> userIdList = new ArrayList<>();
userIdList.add(userId);
processHandleService.saveNodeUserLink(processDTO.getProcessInstanceId(), ProcessProjectNotMetCommon.SJGCSSCZGCL, userIdList);
} }
} }