feat(REQ-3383) - 重命名函数
This commit is contained in:
parent
5d376d2ac5
commit
e9ae50ecba
@ -121,6 +121,7 @@ public class CustomCompleteDummyTaskCmd extends AbstractCommand<Void> implements
|
||||
taskService.setAssignee(i.getId(), i.getOwner());
|
||||
taskService.setOwner(i.getId(), null);
|
||||
|
||||
// TODO 待测试事务是否能在同一个
|
||||
extAxProcessLogService.restore(i.getProcessInstanceId(), i.getId());
|
||||
});
|
||||
|
||||
|
||||
@ -131,7 +131,7 @@ public class CustomCreateDummyTaskCmd extends AbstractCommand<String> implements
|
||||
.ifPresent(i -> i.setAssignee(operator.buildAssigneeId()));
|
||||
}
|
||||
|
||||
completeProcessingTask(commandContext);
|
||||
pauseProcessingTask(commandContext);
|
||||
|
||||
CustomTaskHelper.createExtTaskInst(extAxHiTaskInstService, processInstanceId, task.getId(),
|
||||
NODE_ROBOT.getType(),
|
||||
@ -141,7 +141,8 @@ public class CustomCreateDummyTaskCmd extends AbstractCommand<String> implements
|
||||
return task.getId();
|
||||
}
|
||||
|
||||
private void completeProcessingTask(CommandContext commandContext) {
|
||||
// 将正执行的任务切换为能被隐藏的标识
|
||||
private void pauseProcessingTask(CommandContext commandContext) {
|
||||
ProcessEngineConfigurationImpl processEngineConfiguration =
|
||||
CommandContextUtil.getProcessEngineConfiguration(commandContext);
|
||||
TaskService taskService = processEngineConfiguration.getTaskService();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user