加上自动通过的意见

This commit is contained in:
wangliwen 2022-04-24 08:42:32 +08:00
parent 4d21104623
commit 997e2a7fa2
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
sysDeptService.get(resourceEntityDto.getDeptId());
if (deptDTO != null && deptDTO.getName().equals("青岛市大数据发展管理局")) {
logger.error("第二级别审批仍然为 青岛市大数据发展管理局");
taskService.addComment(delegateTask.getId(), delegateTask.getProcessInstanceId(), "默认通过");
taskService.complete(delegateTask.getId(), delegateTask.getVariables());
}
} else {