From f2c55b77185463c2ae31a02fe93d03a7996f4f26 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Thu, 4 Aug 2022 10:57:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=8A=A8=E7=BB=88=E6=AD=A2=E6=97=B6?= =?UTF-8?q?=20=E9=A9=B3=E5=9B=9E=E7=BD=AEfalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/renren/modules/activiti/service/ActTaskService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java index 526f991a..3967c819 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java @@ -643,6 +643,7 @@ public class ActTaskService extends BaseServiceImpl { taskService.addComment(task.getId(), task.getProcessInstanceId(), comment); taskService.setVariable(task.getId(), Task_HANDLE_STATE, Task_HANDLE_STATE_STOP); taskService.setVariable(task.getId(), "reject", Boolean.TRUE); // 存在被拒绝的批示 + taskService.setVariable(task.getId(), "backToFirst", Boolean.FALSE); // 驳回 taskService.complete(taskId); pointActivity.getIncomingTransitions().remove(newTransition); List pvmTransitionListC = currActivity.getOutgoingTransitions(); @@ -700,6 +701,7 @@ public class ActTaskService extends BaseServiceImpl { taskService.setVariable(task.getId(), Task_HANDLE_STATE, Task_HANDLE_STATE_STOP); taskService.setVariable(task.getId(), "endByUser", Boolean.TRUE); // 主动终止流程 taskService.setVariable(task.getId(), "reject", Boolean.TRUE); // 存在被拒绝的批示 + taskService.setVariable(task.getId(), "backToFirst", Boolean.FALSE); // 驳回 taskService.complete(task.getId()); pointActivity.getIncomingTransitions().remove(newTransition); List pvmTransitionListC = currActivity.getOutgoingTransitions();