Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-12-12 17:20:27 +08:00
commit 077237c285
1 changed files with 1 additions and 0 deletions

View File

@ -526,6 +526,7 @@ public class ActTaskService extends BaseServiceImpl {
Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
if (StringUtils.isNotEmpty(task.getAssignee()) if (StringUtils.isNotEmpty(task.getAssignee())
&& !task.getAssignee().equals(userId)) { && !task.getAssignee().equals(userId)) {
taskService.setVariable(taskId, "autoApply", taskId); // 配置不发送审核人分配通知
taskService.setAssignee(taskId, userId); //与原任务审核人员不一致时换成实际通过的人 taskService.setAssignee(taskId, userId); //与原任务审核人员不一致时换成实际通过的人
} }
if (StringUtils.isNotEmpty(comment)) { if (StringUtils.isNotEmpty(comment)) {