fix: 复审流程数据丢失

This commit is contained in:
2023-11-21 14:46:51 +08:00
parent 6c2f22f4e7
commit 60c48fca90
@@ -183,6 +183,9 @@ public class ProcessEsRecheckServiceImpl extends ServiceImpl<ProcessEsRecheckMap
throw new JeroBootException("taskId为空或任务不存在");
}
String processInstanceId = actFlowCommonService.getProcessInstanceIdByTaskId(taskId);
if (pass) {
saveOrUpdate(recheckData.getData());
}
// 设置流程变量
runtimeService.setVariable(processInstanceId, "pass", pass);
// 更新审批表为完成,填充数据