feat(REQ-3383) - 重命名函数

This commit is contained in:
wangli 2024-12-09 10:35:15 +08:00
parent 5d376d2ac5
commit e9ae50ecba
2 changed files with 4 additions and 2 deletions

View File

@ -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());
});

View File

@ -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();