From fe4989e8d2edb53b5cb066529ebbba7443d312a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=A4=A9=E5=B0=A7?= <10594804+zhangtianyao1578@user.noreply.gitee.com> Date: Thu, 6 Feb 2025 10:20:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=80=9F=E7=AB=A0=E7=AE=A1=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=8F=AA=E8=A6=81=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E6=B3=95=E4=BA=BA=E7=AB=A0/=E6=B3=95=E4=BA=BA?= =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E8=AF=81=E8=B5=B0borrowMetho=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=202.=E4=B8=8A=E8=AF=89=E6=B5=81=E7=A8=8B=E6=89=80?= =?UTF-8?q?=E9=95=BF=E4=B9=8B=E5=89=8D=E5=A2=9E=E5=8A=A0=E5=89=AF=E6=89=80?= =?UTF-8?q?=E9=95=BF=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../action/AdminSealManagementController.java | 25 +++++++++----- .../resources/processes/borrowMethod.bpmn | 33 ++++++++++++++----- 2 files changed, 40 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/xqopen/kehui/admin/action/AdminSealManagementController.java b/src/main/java/com/xqopen/kehui/admin/action/AdminSealManagementController.java index 026858a..706a6e8 100644 --- a/src/main/java/com/xqopen/kehui/admin/action/AdminSealManagementController.java +++ b/src/main/java/com/xqopen/kehui/admin/action/AdminSealManagementController.java @@ -171,18 +171,25 @@ public class AdminSealManagementController implements AdminSealManagementApi { JSONObject ext = req.getSealBody(); List sealType = ext.containsKey("sealType") ? ext .getObject("sealType", List.class) : null; - if (sealType != null && sealType.size() > 0) { - Integer stampType = sealType.get(0); - switch (stampType) { - case 18: //法人章(借) - case 28: //法人身份证 - type= activitiEnum.activitiType.borrowMethod; - break; - default: - type = activitiEnum.activitiType.borrow; +// if (sealType != null && sealType.size() > 0) { +// Integer stampType = sealType.get(0); +// switch (stampType) { +// case 18: //法人章(借) +// case 28: //法人身份证 +// type= activitiEnum.activitiType.borrowMethod; +// break; +// default: +// type = activitiEnum.activitiType.borrow; +// break; +// } +// } + for (Integer i : sealType) { + if(i==18||i==28){ //法人章(借)、法人身份证到所长(借章管理) + type= activitiEnum.activitiType.borrowMethod; //流程图所长节点前面增加副所长节点 break; } } + if(type==null)type = activitiEnum.activitiType.borrow; // type = activitiEnum.activitiType.borrow; } } else { diff --git a/src/main/resources/processes/borrowMethod.bpmn b/src/main/resources/processes/borrowMethod.bpmn index 9d8e3b0..48604ff 100644 --- a/src/main/resources/processes/borrowMethod.bpmn +++ b/src/main/resources/processes/borrowMethod.bpmn @@ -1,5 +1,5 @@ - + @@ -12,11 +12,13 @@ + SequenceFlow_0d78n8w + SequenceFlow_1o74bdn @@ -26,7 +28,15 @@ - + + + + + SequenceFlow_0d78n8w + SequenceFlow_1o74bdn + + + @@ -86,13 +96,6 @@ - - - - - - - @@ -100,6 +103,18 @@ + + + + + + + + + + + +