流程节点通过时,标识驳回为false

This commit is contained in:
wangliwen 2022-05-17 11:01:21 +08:00
parent d9c3b28ec5
commit 494fa2c379
1 changed files with 2 additions and 0 deletions

View File

@ -234,6 +234,7 @@ public class ActTaskService extends BaseServiceImpl {
taskService.addComment(taskId, task.getProcessInstanceId(), comment);
}
taskService.setVariable(taskId, Task_HANDLE_STATE, Task_HANDLE_STATE_AGREE);
taskService.setVariable(taskId, "backToFirst", Boolean.FALSE);
taskService.complete(taskId);
}
@ -620,6 +621,7 @@ public class ActTaskService extends BaseServiceImpl {
}
}
taskService.setVariable(taskDTO.getTaskId(), Task_HANDLE_STATE, Task_HANDLE_STATE_REJECTED);
taskService.setVariable(taskDTO.getTaskId(), "backToFirst", Boolean.FALSE);
this.completeTask(taskDTO.getTaskId(), taskDTO.getComment());
}