Commit 486fb0d4 authored by Rensq's avatar Rensq

取消危险作业优化

parent 86ebc504
...@@ -264,7 +264,8 @@ public class RuTaskServiceImpl implements RuTaskService { ...@@ -264,7 +264,8 @@ public class RuTaskServiceImpl implements RuTaskService {
List<Task> taskList = taskService.createTaskQuery().processInstanceId(processInstanceId).list(); List<Task> taskList = taskService.createTaskQuery().processInstanceId(processInstanceId).list();
if (CollectionUtils.isEmpty(taskList)) { if (CollectionUtils.isEmpty(taskList)) {
throw new ServiceException("流程未启动或已执行完成,取消申请失败"); log.error("流程未启动或已执行完成,取消申请失败");
return;
} }
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery() ProcessInstance processInstance = runtimeService.createProcessInstanceQuery()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment