fix: 81816 年度制修订计划(各部门主动上报)(联络人主管级上一级领导审批) 驳回后节点不正确
This commit is contained in:
+5
-2
@@ -208,6 +208,7 @@ public class ProcessEsAnnualReportServiceImpl extends ServiceImpl<ProcessEsAnnua
|
|||||||
String contactUserLeaderLeader;
|
String contactUserLeaderLeader;
|
||||||
LambdaQueryWrapper<ProcessEsAnnualReport> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<ProcessEsAnnualReport> wrapper = new LambdaQueryWrapper<>();
|
||||||
Map<String, Object> userVariable = new HashMap<>();
|
Map<String, Object> userVariable = new HashMap<>();
|
||||||
|
runtimeService.setVariableLocal(processInstanceId, "pass", pass);
|
||||||
switch (taskName) {
|
switch (taskName) {
|
||||||
case CONTACT_USER_DISTRIBUTE:
|
case CONTACT_USER_DISTRIBUTE:
|
||||||
annualReport = annualReportDataVO.getDataList().get(0);
|
annualReport = annualReportDataVO.getDataList().get(0);
|
||||||
@@ -295,10 +296,12 @@ public class ProcessEsAnnualReportServiceImpl extends ServiceImpl<ProcessEsAnnua
|
|||||||
processNodeLinkService.incrementSaveNodeUserLink(processDefinitionId, processInstanceId, userVariable);
|
processNodeLinkService.incrementSaveNodeUserLink(processDefinitionId, processInstanceId, userVariable);
|
||||||
}
|
}
|
||||||
// 转办
|
// 转办
|
||||||
runtimeService.setVariable(executionId, "contactUserLeaderLeader", UserUtils.getUserId());
|
String curLeader = UserUtils.getUserId();
|
||||||
|
taskService.setVariable(taskId, contactUser + "-ContactUserLeaderLeader", curLeader);
|
||||||
|
userVariable.put("contactUserLeaderLeader", curLeader);
|
||||||
|
processNodeLinkService.incrementSaveNodeUserLink(processDefinitionId, processInstanceId, userVariable);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
runtimeService.setVariableLocal(processInstanceId, "pass", pass);
|
|
||||||
// 更新审批表为完成,填充数据
|
// 更新审批表为完成,填充数据
|
||||||
actFlowCommonService.updateApprovalInfo(commonVO, taskId, pass);
|
actFlowCommonService.updateApprovalInfo(commonVO, taskId, pass);
|
||||||
// 审批节点
|
// 审批节点
|
||||||
|
|||||||
Reference in New Issue
Block a user