java110
2022-05-26 bdcb64f0293f27e2dfb3de12a60f6e8412cb962b
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");
                }
            }