From bdcb64f0293f27e2dfb3de12a60f6e8412cb962b Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 26 五月 2022 01:45:22 +0800
Subject: [PATCH] 退费修改为 从证书地址中获取

---
 service-common/src/main/java/com/java110/common/smo/impl/ContractApplyUserInnerServiceSMOImpl.java |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/service-common/src/main/java/com/java110/common/smo/impl/ContractApplyUserInnerServiceSMOImpl.java b/service-common/src/main/java/com/java110/common/smo/impl/ContractApplyUserInnerServiceSMOImpl.java
index 1fa2c81..58a988f 100644
--- a/service-common/src/main/java/com/java110/common/smo/impl/ContractApplyUserInnerServiceSMOImpl.java
+++ b/service-common/src/main/java/com/java110/common/smo/impl/ContractApplyUserInnerServiceSMOImpl.java
@@ -140,15 +140,10 @@
                     if (FlowUtil.isCondition(outgoingFlow.getConditionExpression(), vars)) {
                         isReturn = true;
                     }
+
                     if (!isReturn) {
                         String assignee = ((UserTask) targetFlowElement).getAssignee();
-                        if (!StringUtil.isEmpty(assignee) && assignee.indexOf("${") < 0) {
-                            taskBusinessKeyMap.put(business_key + "_hasAudit", "1");
-                        }
-                        if ("${startUserId}".equals(assignee)) {
-                            taskBusinessKeyMap.put(business_key + "_hasAudit", "1");
-                        }
-                        if ("${nextUserId}".equals(assignee)) {
+                        if (!StringUtil.isEmpty(assignee)) {
                             taskBusinessKeyMap.put(business_key + "_hasAudit", "1");
                         }
                     }
@@ -156,7 +151,6 @@
                 //濡傛灉涓嬩竴涓负 缁撴潫鑺傜偣
                 if (targetFlowElement instanceof EndEvent) {
                     //true 鑾峰彇杈撳嚭鑺傜偣鍚嶇О
-                    taskBusinessKeyMap.put(business_key + "_hasAudit", "");
                     taskBusinessKeyMap.put(business_key + "_hasEnd", "1");
                 }
             }

--
Gitblit v1.8.0