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); }