From 3d757498c352c7a3fed8c5418eef518356fc92ba Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 09 五月 2022 10:54:27 +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