From 494fa2c37908ceb3f9aa3fbf623f96a5af0ca946 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 17 May 2022 11:01:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E8=8A=82=E7=82=B9=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E6=97=B6=EF=BC=8C=E6=A0=87=E8=AF=86=E9=A9=B3=E5=9B=9E?= =?UTF-8?q?=E4=B8=BAfalse?= 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 4360e268..10d06a73 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 @@ -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()); }