From d7735a4fdfbad3d848dc0eab9a2b13bc06ba1539 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Fri, 22 Apr 2022 17:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=AE=A1=E6=89=B9=E4=B8=BA?= =?UTF-8?q?=E5=A4=A7=E6=95=B0=E6=8D=AE=E6=97=B6=EF=BC=8C=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/processForm/listener/CorrectionListener.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java index 7ad4c6f9..4a3abb37 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java @@ -64,6 +64,12 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti } if (resourceEntityDto != null && resourceEntityDto.getDeptId() != null) { deptId = resourceEntityDto.getDeptId(); + SysDeptDTO deptDTO = + sysDeptService.get(resourceEntityDto.getDeptId()); + if (deptDTO != null && deptDTO.getName().equals("青岛市大数据发展管理局")) { + logger.error("第二级别审批仍然为 青岛市大数据发展管理局"); + taskService.complete(delegateTask.getId(), delegateTask.getVariables()); + } } else { logger.error("表单内单位名称:" + abilityApplicationDTO.getUnit()); SysDeptDTO deptDTO = sysDeptService.getByName(abilityApplicationDTO.getUnit());