From e3184382fcbe7e7a483cad899187aba0cb81e884 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 12 Dec 2022 17:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E4=BD=9C=E7=BB=84=E4=BA=92=E5=8A=A9?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87=E6=97=B6=E4=B8=8D=E5=8F=91?= =?UTF-8?q?=E5=88=86=E9=85=8D=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/renren/modules/activiti/service/ActTaskService.java | 1 + 1 file changed, 1 insertion(+) 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 3a158c58..e2a759ff 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 @@ -526,6 +526,7 @@ public class ActTaskService extends BaseServiceImpl { Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); if (StringUtils.isNotEmpty(task.getAssignee()) && !task.getAssignee().equals(userId)) { + taskService.setVariable(taskId, "autoApply", taskId); // 配置不发送审核人分配通知 taskService.setAssignee(taskId, userId); //与原任务审核人员不一致时,换成实际通过的人 } if (StringUtils.isNotEmpty(comment)) {