fix: 80901 企标计划立项/变更流程--审批节点驳回失败
This commit is contained in:
+3
-2
@@ -275,6 +275,9 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
|
||||
if (taskName.equals(STANDARDIZATION_CHECK)) {
|
||||
taskService.setVariable(taskId, "standardizationApprovalUser", userId);
|
||||
}
|
||||
} else {
|
||||
// 设置流程变量
|
||||
runtimeService.setVariableLocal(processInstanceId, "pass", false);
|
||||
}
|
||||
// 更新审批表为完成,填充数据
|
||||
actFlowCommonService.updateApprovalInfo(commonVO, taskId, pass);
|
||||
@@ -283,8 +286,6 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
|
||||
// 删除草稿
|
||||
actFlowCommonService.removeDraft(commonVO);
|
||||
if (!pass) {
|
||||
// 设置流程变量
|
||||
runtimeService.setVariableLocal(processInstanceId, "pass", false);
|
||||
// 如果是会签节点,驳回后要将其余节点recode设置为 未处理 状态
|
||||
if (taskName.equals(CounterSignNodeNameConstants.ES_INIT_CHANGE_EXPERT_NODE_NAME)) {
|
||||
actFlowCommonService.updateOtherCountersignRecodeStatus(processInstanceId, CounterSignNodeNameConstants.ES_INIT_CHANGE_EXPERT_NODE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user