流程节点通过时,标识驳回为false
This commit is contained in:
parent
d9c3b28ec5
commit
494fa2c379
|
@ -234,6 +234,7 @@ public class ActTaskService extends BaseServiceImpl {
|
||||||
taskService.addComment(taskId, task.getProcessInstanceId(), comment);
|
taskService.addComment(taskId, task.getProcessInstanceId(), comment);
|
||||||
}
|
}
|
||||||
taskService.setVariable(taskId, Task_HANDLE_STATE, Task_HANDLE_STATE_AGREE);
|
taskService.setVariable(taskId, Task_HANDLE_STATE, Task_HANDLE_STATE_AGREE);
|
||||||
|
taskService.setVariable(taskId, "backToFirst", Boolean.FALSE);
|
||||||
taskService.complete(taskId);
|
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(), Task_HANDLE_STATE, Task_HANDLE_STATE_REJECTED);
|
||||||
|
taskService.setVariable(taskDTO.getTaskId(), "backToFirst", Boolean.FALSE);
|
||||||
this.completeTask(taskDTO.getTaskId(), taskDTO.getComment());
|
this.completeTask(taskDTO.getTaskId(), taskDTO.getComment());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue