From 4bdebca7d7d1a217273c2ba8d9c7f785f8548f61 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 12 Dec 2022 16:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=8F=E4=BD=9C=E7=BB=84?= =?UTF-8?q?=E5=86=85=E5=AE=A1=E6=A0=B8=E4=BA=BA=E4=B8=8D=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renren/modules/activiti/service/ActTaskService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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..9f0e9c14 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 @@ -524,10 +524,10 @@ public class ActTaskService extends BaseServiceImpl { public void completeTask(String taskId, String comment) { String userId = SecurityUser.getUserId().toString(); Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); - if (StringUtils.isNotEmpty(task.getAssignee()) - && !task.getAssignee().equals(userId)) { - taskService.setAssignee(taskId, userId); //与原任务审核人员不一致时,换成实际通过的人 - } +// if (StringUtils.isNotEmpty(task.getAssignee()) +// && !task.getAssignee().equals(userId)) { +// taskService.setAssignee(taskId, userId); //与原任务审核人员不一致时,换成实际通过的人 +// } if (StringUtils.isNotEmpty(comment)) { taskService.addComment(taskId, task.getProcessInstanceId(), comment); }