yuedefeng 5 лет назад
Родитель
Сommit
83a68b3371

+ 8 - 0
src/main/java/com/common/workflow/service/activiti/ActivitiService.java

@@ -510,8 +510,13 @@ public class ActivitiService {
 
                         } else if( hvi.getVariableName().equals("users")) {
                             historicTask.setUsers(hvi.getValue().toString());
+
                         } else if( hvi.getVariableName().equals("orgName")) {
                             orgName = hvi.getValue().toString();
+
+                        } else if( hvi.getVariableName().equals("refuseName")) {
+                            historicTask.setRefuseName(hvi.getValue().toString());
+
                         }
                     }
 
@@ -537,6 +542,9 @@ public class ActivitiService {
                             historicTask.setUsers(hvi.getValue().toString());
                         } else if( hvi.getVariableName().equals("orgName")) {
                             orgName = hvi.getValue().toString();
+                        } else if( hvi.getVariableName().equals("refuseName")) {
+                            historicTask.setRefuseName(hvi.getValue().toString());
+
                         }
 
                     }

+ 20 - 2
src/main/java/com/common/workflow/service/activiti/supplierListener/ApprovalRefuseService.java

@@ -31,7 +31,25 @@ public class ApprovalRefuseService implements ExecutionListener {
         if (createUserId.length() <= 0) {
             throw new ActivitiException("驳回审批失败!请联系管理员!");
         }
-        delegateExecution.setVariable("users", createUserId);
-        delegateExecution.setVariableLocal("users", createUserId);
+        if (nowStepCode.equals("-1")) {
+            delegateExecution.setVariableLocal("refuseName", "初审未通过");
+        } else if (nowStepCode.equals("-2")) {
+            delegateExecution.setVariableLocal("refuseName", "复审未通过");
+        } else if (nowStepCode.equals("-3")) {
+            delegateExecution.setVariableLocal("refuseName", "专业处接收未通过");
+        } else if (nowStepCode.equals("-4")) {
+            delegateExecution.setVariableLocal("refuseName", "专业处室未通过");
+        } else if (nowStepCode.equals("-5")) {
+            delegateExecution.setVariableLocal("refuseName", "集中评审未通过");
+        } else if (nowStepCode.equals("-10")) {
+            delegateExecution.setVariableLocal("refuseName", "企管法规处未通过");
+        }
+
+        delegateExecution.setVariable("backUsers", createUserId);
+        delegateExecution.setVariableLocal("backUsers", createUserId);
+        /*delegateExecution.setVariable("businessKey", businessKey);
+        delegateExecution.setVariableLocal("businessKey", businessKey);
+        delegateExecution.setVariable("remarks", businessKey);
+        delegateExecution.setVariableLocal("remarks", businessKey);*/
     }
 }

+ 23 - 0
src/main/java/com/common/workflow/service/activiti/supplierListener/ApprovalRefuseTaskService.java

@@ -0,0 +1,23 @@
+package com.common.workflow.service.activiti.supplierListener;
+
+import com.common.workflow.service.util.HttpRequest;
+import org.activiti.engine.ActivitiException;
+import org.activiti.engine.delegate.DelegateTask;
+import org.activiti.engine.delegate.TaskListener;
+import org.springframework.stereotype.Component;
+
+import java.util.Arrays;
+
+@Component("approvalRefuseTaskService")
+public class ApprovalRefuseTaskService  implements TaskListener {
+    // 二级单位初审
+    @Override
+    public void notify(DelegateTask delegateTask) {
+        if (delegateTask.getVariable("backUsers") != null) {
+            String backUsers = delegateTask.getVariable("backUsers").toString();
+            delegateTask.setVariable("users", backUsers);
+            delegateTask.setVariableLocal("users", backUsers);
+            delegateTask.addCandidateUsers(Arrays.asList(backUsers.split(",")));
+        }
+    }
+}

+ 9 - 0
src/main/java/com/common/workflow/service/dto/ActiHistoricTaskDTO.java

@@ -13,6 +13,7 @@ public class ActiHistoricTaskDTO {
     private String users;
     private String result;
     private String remarks;
+    private String refuseName;
     private long startTime;
     private long endTime;
     private String processInstanceId;
@@ -88,4 +89,12 @@ public class ActiHistoricTaskDTO {
     public void setUsers(String users) {
         this.users = users;
     }
+
+    public String getRefuseName() {
+        return refuseName;
+    }
+
+    public void setRefuseName(String refuseName) {
+        this.refuseName = refuseName;
+    }
 }

+ 308 - 299
src/main/resources/processes/oil_enuser_supplier_apply.bpmn20.xml

@@ -1,301 +1,310 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef">
-    <process id="oil_enuser_supplier_apply" name="oil_enuser_supplier_apply" isExecutable="true">
-        <documentation>准入审批流程</documentation>
-        <startEvent id="sid-9A4918D7-8376-4A00-928A-6415D92565EC" name="开始"></startEvent>
-        <userTask id="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" name="二级单位分办" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preFenTrailService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <userTask id="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" name="业务处室专业审批" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preProfAuditService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <exclusiveGateway id="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23"></exclusiveGateway>
-        <userTask id="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" name="二级单位复审" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preSecondTrailService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <exclusiveGateway id="sid-E178BD57-68C0-4C23-8952-143905257209"></exclusiveGateway>
-        <userTask id="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" name="二级单位初审">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preFirstTrailService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <exclusiveGateway id="sid-C9D007EC-DA5F-480E-A280-EBF70615C514"></exclusiveGateway>
-        <userTask id="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" name="集中评审" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preConcentrateAuditService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <endEvent id="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${workflowEndService}"></activiti:executionListener>
-            </extensionElements>
-        </endEvent>
-        <sequenceFlow id="sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D" sourceRef="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" targetRef="sid-E178BD57-68C0-4C23-8952-143905257209"></sequenceFlow>
-        <userTask id="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" name="业务处室接收" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preThirdTrialService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <userTask id="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" name="评审准入" activiti:assignee="${recorder}">
-            <extensionElements>
-                <modeler:initiator-can-complete xmlns:modeler="http://activiti.com/modeler"><![CDATA[false]]></modeler:initiator-can-complete>
-            </extensionElements>
-        </userTask>
-        <sequenceFlow id="sid-2BD5B023-739C-4D78-8F49-F1B96336102D" sourceRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" targetRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514"></sequenceFlow>
-        <sequenceFlow id="sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413" sourceRef="sid-9A4918D7-8376-4A00-928A-6415D92565EC" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E"></sequenceFlow>
-        <exclusiveGateway id="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE"></exclusiveGateway>
-        <sequenceFlow id="sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D" sourceRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" targetRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE"></sequenceFlow>
-        <userTask id="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" name="交费" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${prePayerService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <userTask id="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" name="企管法规处编号、入库" activiti:candidateUsers="${users}">
-            <extensionElements>
-                <activiti:taskListener event="create" delegateExpression="${preStorageAuditService}"></activiti:taskListener>
-            </extensionElements>
-        </userTask>
-        <sequenceFlow id="sid-22A32961-337F-4185-8E96-CF46812C6A5A" sourceRef="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" targetRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600"></sequenceFlow>
-        <sequenceFlow id="sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE" sourceRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" targetRef="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D"></sequenceFlow>
-        <exclusiveGateway id="sid-025875DE-EAC2-4FBC-B4A4-91377D669895"></exclusiveGateway>
-        <sequenceFlow id="sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6" name="企业用户申请" sourceRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" targetRef="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-C916BA74-384F-4684-8ADB-16EA158FDE07" name="通过" sourceRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" targetRef="sid-8F39C647-A0E2-46F8-B184-51BF40E93546">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11" name="通过" sourceRef="sid-E178BD57-68C0-4C23-8952-143905257209" targetRef="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794" sourceRef="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" targetRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF"></sequenceFlow>
-        <sequenceFlow id="sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413" name="二级单位申请" sourceRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" targetRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-16929529-744D-4509-923E-820FA2E3AEE3" name="通过并缴费" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4" sourceRef="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" targetRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
-            <extensionElements>
-                <activiti:executionListener event="end" delegateExpression="${checkNeedPayService}"></activiti:executionListener>
-            </extensionElements>
-        </sequenceFlow>
-        <sequenceFlow id="sid-22C499F4-7179-4558-BC4C-77EF7453FA56" sourceRef="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" targetRef="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF"></sequenceFlow>
-        <sequenceFlow id="sid-89ED731E-278D-4033-8445-73676D8B5F0A" name="审批" sourceRef="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" targetRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${checkNeedConcentrateAuditService}"></activiti:executionListener>
-            </extensionElements>
-        </sequenceFlow>
-        <sequenceFlow id="sid-D6C377D7-98CC-4D68-B577-22E60AD1578A" name="不集中评审" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
-            <extensionElements>
-                <activiti:executionListener event="end" delegateExpression="${checkNeedPayService}"></activiti:executionListener>
-            </extensionElements>
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-E19E2941-6B2A-4114-B292-5D789BA0959A" name="通过" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-D683E891-1671-40A6-9103-C03866D0640B" name="通过不缴费" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600">
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31" name="不通过" sourceRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${approvalRefuseService}">
-                    <activiti:field name="stepCode">
-                        <activiti:string><![CDATA[-1]]></activiti:string>
-                    </activiti:field>
-                </activiti:executionListener>
-            </extensionElements>
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32" name="不通过" sourceRef="sid-E178BD57-68C0-4C23-8952-143905257209" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${approvalRefuseService}">
-                    <activiti:field name="stepCode">
-                        <activiti:string><![CDATA[-2]]></activiti:string>
-                    </activiti:field>
-                </activiti:executionListener>
-            </extensionElements>
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C" name="审核不通过" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${approvalRefuseService}">
-                    <activiti:field name="stepCode">
-                        <activiti:string><![CDATA[-4]]></activiti:string>
-                    </activiti:field>
-                </activiti:executionListener>
-            </extensionElements>
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
-        </sequenceFlow>
-        <sequenceFlow id="sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170" name="不通过" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
-            <extensionElements>
-                <activiti:executionListener event="start" delegateExpression="${approvalRefuseService}">
-                    <activiti:field name="stepCode">
-                        <activiti:string><![CDATA[-5]]></activiti:string>
-                    </activiti:field>
-                </activiti:executionListener>
-            </extensionElements>
-            <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
-        </sequenceFlow>
-    </process>
-    <bpmndi:BPMNDiagram id="BPMNDiagram_oil_enuser_supplier_apply">
-        <bpmndi:BPMNPlane bpmnElement="oil_enuser_supplier_apply" id="BPMNPlane_oil_enuser_supplier_apply">
-            <bpmndi:BPMNShape bpmnElement="sid-9A4918D7-8376-4A00-928A-6415D92565EC" id="BPMNShape_sid-9A4918D7-8376-4A00-928A-6415D92565EC">
-                <omgdc:Bounds height="30.0" width="30.0" x="15.0" y="280.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" id="BPMNShape_sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397">
-                <omgdc:Bounds height="80.0" width="100.0" x="330.0" y="255.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" id="BPMNShape_sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF">
-                <omgdc:Bounds height="79.99999999999994" width="100.0" x="1000.0" y="259.9999973509052"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" id="BPMNShape_sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23">
-                <omgdc:Bounds height="40.0" width="40.0" x="1135.0" y="279.9999973509047"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" id="BPMNShape_sid-8F39C647-A0E2-46F8-B184-51BF40E93546">
-                <omgdc:Bounds height="80.0" width="99.99999999999989" x="670.0" y="259.99999735090523"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-E178BD57-68C0-4C23-8952-143905257209" id="BPMNShape_sid-E178BD57-68C0-4C23-8952-143905257209">
-                <omgdc:Bounds height="40.0" width="40.0" x="790.0" y="279.9999973509047"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" id="BPMNShape_sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF">
-                <omgdc:Bounds height="79.99999999999994" width="100.0" x="465.0" y="255.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" id="BPMNShape_sid-C9D007EC-DA5F-480E-A280-EBF70615C514">
-                <omgdc:Bounds height="40.0" width="40.0" x="595.0" y="279.99999735090523"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" id="BPMNShape_sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3">
-                <omgdc:Bounds height="80.0" width="100.00000000000023" x="1210.0" y="259.9999973509047"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D" id="BPMNShape_sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D">
-                <omgdc:Bounds height="28.0" width="28.0" x="1795.0" y="286.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" id="BPMNShape_sid-C18EB968-3E14-4BAF-9DEF-D767CA546066">
-                <omgdc:Bounds height="80.0" width="100.0" x="865.0" y="259.99999735090523"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" id="BPMNShape_sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
-                <omgdc:Bounds height="80.0" width="100.0" x="85.0" y="255.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" id="BPMNShape_sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE">
-                <omgdc:Bounds height="40.0" width="40.0" x="230.0" y="275.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" id="BPMNShape_sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D">
-                <omgdc:Bounds height="80.0" width="100.0" x="1465.0" y="260.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" id="BPMNShape_sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600">
-                <omgdc:Bounds height="79.0" width="133.0526315789475" x="1609.9473684210525" y="261.0"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNShape bpmnElement="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" id="BPMNShape_sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
-                <omgdc:Bounds height="40.0" width="40.0" x="1345.0" y="279.99999735090523"></omgdc:Bounds>
-            </bpmndi:BPMNShape>
-            <bpmndi:BPMNEdge bpmnElement="sid-89ED731E-278D-4033-8445-73676D8B5F0A" id="BPMNEdge_sid-89ED731E-278D-4033-8445-73676D8B5F0A">
-                <omgdi:waypoint x="1100.0" y="299.9999973509049"></omgdi:waypoint>
-                <omgdi:waypoint x="1135.0" y="299.9999973509048"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C" id="BPMNEdge_sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C">
-                <omgdi:waypoint x="1155.0837462142554" y="319.91625113664924"></omgdi:waypoint>
-                <omgdi:waypoint x="1155.3154296875" y="375.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.31541442871094" y="372.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.16382087565034" y="335.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170" id="BPMNEdge_sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170">
-                <omgdi:waypoint x="1365.5" y="319.49999735090523"></omgdi:waypoint>
-                <omgdi:waypoint x="1365.5" y="375.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.0" y="373.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.0" y="335.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE" id="BPMNEdge_sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE">
-                <omgdi:waypoint x="1743.0" y="300.2490071485306"></omgdi:waypoint>
-                <omgdi:waypoint x="1795.0000996389547" y="300.05281932225176"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794" id="BPMNEdge_sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794">
-                <omgdi:waypoint x="430.0" y="295.0"></omgdi:waypoint>
-                <omgdi:waypoint x="465.0" y="295.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-2BD5B023-739C-4D78-8F49-F1B96336102D" id="BPMNEdge_sid-2BD5B023-739C-4D78-8F49-F1B96336102D">
-                <omgdi:waypoint x="565.0" y="297.4999986754526"></omgdi:waypoint>
-                <omgdi:waypoint x="595.9523804718195" y="299.0476168790857"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-22A32961-337F-4185-8E96-CF46812C6A5A" id="BPMNEdge_sid-22A32961-337F-4185-8E96-CF46812C6A5A">
-                <omgdi:waypoint x="1565.0" y="300.15482398956976"></omgdi:waypoint>
-                <omgdi:waypoint x="1609.9473684210525" y="300.29400260756194"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-C916BA74-384F-4684-8ADB-16EA158FDE07" id="BPMNEdge_sid-C916BA74-384F-4684-8ADB-16EA158FDE07">
-                <omgdi:waypoint x="634.5913461538462" y="300.4086511970591"></omgdi:waypoint>
-                <omgdi:waypoint x="670.0" y="300.239231800666"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D" id="BPMNEdge_sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D">
-                <omgdi:waypoint x="185.0" y="295.2164502164502"></omgdi:waypoint>
-                <omgdi:waypoint x="230.41304347826087" y="295.4130434782609"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6" id="BPMNEdge_sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6">
-                <omgdi:waypoint x="269.5736434108527" y="295.4263565891473"></omgdi:waypoint>
-                <omgdi:waypoint x="330.0" y="295.1930501930502"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-16929529-744D-4509-923E-820FA2E3AEE3" id="BPMNEdge_sid-16929529-744D-4509-923E-820FA2E3AEE3">
-                <omgdi:waypoint x="1384.1019783039494" y="300.8980190469557"></omgdi:waypoint>
-                <omgdi:waypoint x="1465.0" y="300.34302239075885"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-22C499F4-7179-4558-BC4C-77EF7453FA56" id="BPMNEdge_sid-22C499F4-7179-4558-BC4C-77EF7453FA56">
-                <omgdi:waypoint x="965.0" y="299.9999973509052"></omgdi:waypoint>
-                <omgdi:waypoint x="1000.0" y="299.9999973509052"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413" id="BPMNEdge_sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413">
-                <omgdi:waypoint x="45.0" y="295.0"></omgdi:waypoint>
-                <omgdi:waypoint x="85.0" y="295.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11" id="BPMNEdge_sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11">
-                <omgdi:waypoint x="829.5913461538461" y="300.40865119705865"></omgdi:waypoint>
-                <omgdi:waypoint x="865.0" y="300.2392318006658"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413" id="BPMNEdge_sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413">
-                <omgdi:waypoint x="250.5" y="275.5"></omgdi:waypoint>
-                <omgdi:waypoint x="250.5" y="233.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="515.0" y="232.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="515.0" y="255.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31" id="BPMNEdge_sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31">
-                <omgdi:waypoint x="615.5" y="319.49999735090523"></omgdi:waypoint>
-                <omgdi:waypoint x="615.5" y="373.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.0" y="373.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.0" y="335.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4" id="BPMNEdge_sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4">
-                <omgdi:waypoint x="1310.0000000000002" y="300.4860824681864"></omgdi:waypoint>
-                <omgdi:waypoint x="1345.8344570423644" y="300.83445439326965"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-D683E891-1671-40A6-9103-C03866D0640B" id="BPMNEdge_sid-D683E891-1671-40A6-9103-C03866D0640B">
-                <omgdi:waypoint x="1367.1825678369623" y="282.18256518786757"></omgdi:waypoint>
-                <omgdi:waypoint x="1367.1825678369623" y="230.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="1676.4736842105262" y="229.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="1676.4736842105262" y="261.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D" id="BPMNEdge_sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D">
-                <omgdi:waypoint x="769.9999999999999" y="299.99999735090495"></omgdi:waypoint>
-                <omgdi:waypoint x="789.9999999999999" y="299.99999735090483"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-E19E2941-6B2A-4114-B292-5D789BA0959A" id="BPMNEdge_sid-E19E2941-6B2A-4114-B292-5D789BA0959A">
-                <omgdi:waypoint x="1174.5913461538462" y="300.4086511970586"></omgdi:waypoint>
-                <omgdi:waypoint x="1210.0" y="300.2392318006655"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32" id="BPMNEdge_sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32">
-                <omgdi:waypoint x="810.3492450483038" y="319.6507523026009"></omgdi:waypoint>
-                <omgdi:waypoint x="811.3154296875" y="374.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="135.31541442871094" y="373.01446533203125"></omgdi:waypoint>
-                <omgdi:waypoint x="136.31579509534333" y="335.0"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-            <bpmndi:BPMNEdge bpmnElement="sid-D6C377D7-98CC-4D68-B577-22E60AD1578A" id="BPMNEdge_sid-D6C377D7-98CC-4D68-B577-22E60AD1578A">
-                <omgdi:waypoint x="1155.5" y="280.4999973509047"></omgdi:waypoint>
-                <omgdi:waypoint x="1155.5" y="230.0162811279297"></omgdi:waypoint>
-                <omgdi:waypoint x="1301.611328125" y="230.0162811279297"></omgdi:waypoint>
-                <omgdi:waypoint x="1355.30530294893" y="289.69469440197537"></omgdi:waypoint>
-            </bpmndi:BPMNEdge>
-        </bpmndi:BPMNPlane>
-    </bpmndi:BPMNDiagram>
-</definitions>
+  <process id="oil_enuser_supplier_apply" name="oil_enuser_supplier_apply" isExecutable="true">
+    <documentation>准入审批流程</documentation>
+    <startEvent id="sid-9A4918D7-8376-4A00-928A-6415D92565EC" name="开始"></startEvent>
+    <userTask id="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" name="二级单位分办" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preFenTrailService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <userTask id="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" name="业务处室专业审批" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preProfAuditService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <exclusiveGateway id="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23"></exclusiveGateway>
+    <userTask id="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" name="二级单位复审" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preSecondTrailService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <exclusiveGateway id="sid-E178BD57-68C0-4C23-8952-143905257209"></exclusiveGateway>
+    <userTask id="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" name="二级单位初审">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preFirstTrailService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <exclusiveGateway id="sid-C9D007EC-DA5F-480E-A280-EBF70615C514"></exclusiveGateway>
+    <userTask id="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" name="集中评审" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preConcentrateAuditService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <endEvent id="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D">
+      <extensionElements>
+        <activiti:executionListener event="start" delegateExpression="${workflowEndService}"></activiti:executionListener>
+      </extensionElements>
+    </endEvent>
+    <sequenceFlow id="sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D" sourceRef="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" targetRef="sid-E178BD57-68C0-4C23-8952-143905257209"></sequenceFlow>
+    <userTask id="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" name="业务处室接收" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preThirdTrialService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <userTask id="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" name="评审准入" activiti:assignee="${recorder}">
+      <extensionElements>
+        <modeler:initiator-can-complete xmlns:modeler="http://activiti.com/modeler"><![CDATA[false]]></modeler:initiator-can-complete>
+      </extensionElements>
+    </userTask>
+    <sequenceFlow id="sid-2BD5B023-739C-4D78-8F49-F1B96336102D" sourceRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" targetRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514"></sequenceFlow>
+    <sequenceFlow id="sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413" sourceRef="sid-9A4918D7-8376-4A00-928A-6415D92565EC" targetRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E"></sequenceFlow>
+    <exclusiveGateway id="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE"></exclusiveGateway>
+    <sequenceFlow id="sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D" sourceRef="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" targetRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE"></sequenceFlow>
+    <userTask id="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" name="交费" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${prePayerService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <userTask id="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" name="企管法规处编号、入库" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${preStorageAuditService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <sequenceFlow id="sid-22A32961-337F-4185-8E96-CF46812C6A5A" sourceRef="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" targetRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600"></sequenceFlow>
+    <sequenceFlow id="sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE" sourceRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" targetRef="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D"></sequenceFlow>
+    <exclusiveGateway id="sid-025875DE-EAC2-4FBC-B4A4-91377D669895"></exclusiveGateway>
+    <sequenceFlow id="sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6" name="企业用户申请" sourceRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" targetRef="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-C916BA74-384F-4684-8ADB-16EA158FDE07" name="通过" sourceRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" targetRef="sid-8F39C647-A0E2-46F8-B184-51BF40E93546">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11" name="通过" sourceRef="sid-E178BD57-68C0-4C23-8952-143905257209" targetRef="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794" sourceRef="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" targetRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF"></sequenceFlow>
+    <sequenceFlow id="sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413" name="二级单位申请" sourceRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" targetRef="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-16929529-744D-4509-923E-820FA2E3AEE3" name="通过并缴费" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4" sourceRef="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" targetRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${checkNeedPayService}"></activiti:executionListener>
+      </extensionElements>
+    </sequenceFlow>
+    <sequenceFlow id="sid-22C499F4-7179-4558-BC4C-77EF7453FA56" sourceRef="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" targetRef="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF"></sequenceFlow>
+    <sequenceFlow id="sid-89ED731E-278D-4033-8445-73676D8B5F0A" name="审批" sourceRef="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" targetRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23">
+      <extensionElements>
+        <activiti:executionListener event="start" delegateExpression="${checkNeedConcentrateAuditService}"></activiti:executionListener>
+      </extensionElements>
+    </sequenceFlow>
+    <sequenceFlow id="sid-D6C377D7-98CC-4D68-B577-22E60AD1578A" name="不集中评审" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${checkNeedPayService}"></activiti:executionListener>
+      </extensionElements>
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-E19E2941-6B2A-4114-B292-5D789BA0959A" name="通过" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==1}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-D683E891-1671-40A6-9103-C03866D0640B" name="通过不缴费" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600">
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==2}]]></conditionExpression>
+    </sequenceFlow>
+    <userTask id="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1" name="审批未通过" activiti:candidateUsers="${users}">
+      <extensionElements>
+        <activiti:taskListener event="create" delegateExpression="${approvalRefuseTaskService}"></activiti:taskListener>
+      </extensionElements>
+    </userTask>
+    <sequenceFlow id="sid-5D55B4DC-21FF-4637-BCC7-6C25F06523A3" sourceRef="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1" targetRef="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE"></sequenceFlow>
+    <sequenceFlow id="sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31" name="不通过" sourceRef="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" targetRef="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${approvalRefuseService}">
+          <activiti:field name="stepCode">
+            <activiti:string><![CDATA[-1]]></activiti:string>
+          </activiti:field>
+        </activiti:executionListener>
+      </extensionElements>
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32" name="不通过" sourceRef="sid-E178BD57-68C0-4C23-8952-143905257209" targetRef="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${approvalRefuseService}">
+          <activiti:field name="stepCode">
+            <activiti:string><![CDATA[-2]]></activiti:string>
+          </activiti:field>
+        </activiti:executionListener>
+      </extensionElements>
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C" name="审核不通过" sourceRef="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" targetRef="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${approvalRefuseService}">
+          <activiti:field name="stepCode">
+            <activiti:string><![CDATA[-4]]></activiti:string>
+          </activiti:field>
+        </activiti:executionListener>
+      </extensionElements>
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170" name="不通过" sourceRef="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" targetRef="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1">
+      <extensionElements>
+        <activiti:executionListener event="end" delegateExpression="${approvalRefuseService}">
+          <activiti:field name="stepCode">
+            <activiti:string><![CDATA[-5]]></activiti:string>
+          </activiti:field>
+        </activiti:executionListener>
+      </extensionElements>
+      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==0}]]></conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="BPMNDiagram_oil_enuser_supplier_apply">
+    <bpmndi:BPMNPlane bpmnElement="oil_enuser_supplier_apply" id="BPMNPlane_oil_enuser_supplier_apply">
+      <bpmndi:BPMNShape bpmnElement="sid-9A4918D7-8376-4A00-928A-6415D92565EC" id="BPMNShape_sid-9A4918D7-8376-4A00-928A-6415D92565EC">
+        <omgdc:Bounds height="30.0" width="30.0" x="15.0" y="280.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397" id="BPMNShape_sid-D9679422-EE83-4AD7-8A06-51A8BAC2A397">
+        <omgdc:Bounds height="80.0" width="100.0" x="330.0" y="255.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF" id="BPMNShape_sid-A6FC1B75-D365-4060-8F2D-797DAD1399EF">
+        <omgdc:Bounds height="79.99999999999994" width="100.0" x="1000.0" y="259.9999973509052"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23" id="BPMNShape_sid-A41AC05B-4D7E-4159-80B2-CE3B0B60AF23">
+        <omgdc:Bounds height="40.0" width="40.0" x="1135.0" y="279.9999973509047"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-8F39C647-A0E2-46F8-B184-51BF40E93546" id="BPMNShape_sid-8F39C647-A0E2-46F8-B184-51BF40E93546">
+        <omgdc:Bounds height="80.0" width="99.99999999999989" x="660.0" y="255.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-E178BD57-68C0-4C23-8952-143905257209" id="BPMNShape_sid-E178BD57-68C0-4C23-8952-143905257209">
+        <omgdc:Bounds height="40.0" width="40.0" x="790.0" y="279.9999973509047"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF" id="BPMNShape_sid-8C5C2380-44D8-4A61-A5C7-1DC85F57E3AF">
+        <omgdc:Bounds height="79.99999999999994" width="100.0" x="465.0" y="255.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-C9D007EC-DA5F-480E-A280-EBF70615C514" id="BPMNShape_sid-C9D007EC-DA5F-480E-A280-EBF70615C514">
+        <omgdc:Bounds height="40.0" width="40.0" x="595.0" y="279.99999735090523"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3" id="BPMNShape_sid-7937AEA9-F0D6-4FF1-9E7F-23238B42D7A3">
+        <omgdc:Bounds height="80.0" width="100.00000000000023" x="1210.0" y="259.9999973509047"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D" id="BPMNShape_sid-2AC44FDA-FEF7-4D32-A690-54A5C6AAF46D">
+        <omgdc:Bounds height="28.0" width="28.0" x="1795.0" y="286.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-C18EB968-3E14-4BAF-9DEF-D767CA546066" id="BPMNShape_sid-C18EB968-3E14-4BAF-9DEF-D767CA546066">
+        <omgdc:Bounds height="80.0" width="100.0" x="865.0" y="259.99999735090523"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-F49D476A-2CDD-4A35-8212-D88BA71F604E" id="BPMNShape_sid-F49D476A-2CDD-4A35-8212-D88BA71F604E">
+        <omgdc:Bounds height="80.0" width="100.0" x="75.0" y="255.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE" id="BPMNShape_sid-643A5BA6-748C-4D18-96A0-EE1D2C03DEFE">
+        <omgdc:Bounds height="40.0" width="40.0" x="230.0" y="275.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D" id="BPMNShape_sid-7D60C5CA-F630-4C5D-A20F-2DE15307AA6D">
+        <omgdc:Bounds height="80.0" width="100.0" x="1465.0" y="260.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600" id="BPMNShape_sid-FA63BEF0-2F3E-4A13-BEB8-286C4AA9F600">
+        <omgdc:Bounds height="79.0" width="133.0526315789475" x="1609.9473684210525" y="261.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-025875DE-EAC2-4FBC-B4A4-91377D669895" id="BPMNShape_sid-025875DE-EAC2-4FBC-B4A4-91377D669895">
+        <omgdc:Bounds height="40.0" width="40.0" x="1345.0" y="279.99999735090523"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1" id="BPMNShape_sid-8360D2EE-369C-4BB9-B422-6CDEE851FEC1">
+        <omgdc:Bounds height="80.0" width="100.0" x="200.0" y="360.0"></omgdc:Bounds>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge bpmnElement="sid-89ED731E-278D-4033-8445-73676D8B5F0A" id="BPMNEdge_sid-89ED731E-278D-4033-8445-73676D8B5F0A">
+        <omgdi:waypoint x="1100.0" y="299.9999973509049"></omgdi:waypoint>
+        <omgdi:waypoint x="1135.0" y="299.9999973509048"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C" id="BPMNEdge_sid-FCCDF8E6-9500-4D5F-A79C-CE674F870F6C">
+        <omgdi:waypoint x="1155.0" y="319.9999973509047"></omgdi:waypoint>
+        <omgdi:waypoint x="1155.0" y="400.0"></omgdi:waypoint>
+        <omgdi:waypoint x="300.0" y="400.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170" id="BPMNEdge_sid-FD0572E4-B0BC-49D2-9F15-C38057F3D170">
+        <omgdi:waypoint x="1365.5" y="319.49999735090523"></omgdi:waypoint>
+        <omgdi:waypoint x="1365.5" y="400.0"></omgdi:waypoint>
+        <omgdi:waypoint x="300.0" y="400.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE" id="BPMNEdge_sid-6A7B4FFF-D815-4522-93E3-ACA3E92104EE">
+        <omgdi:waypoint x="1743.0" y="300.2490071485306"></omgdi:waypoint>
+        <omgdi:waypoint x="1795.0000996389547" y="300.05281932225176"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794" id="BPMNEdge_sid-3E3D56A7-2EE5-42D1-AB6D-2892B8D3E794">
+        <omgdi:waypoint x="430.0" y="295.0"></omgdi:waypoint>
+        <omgdi:waypoint x="465.0" y="295.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-2BD5B023-739C-4D78-8F49-F1B96336102D" id="BPMNEdge_sid-2BD5B023-739C-4D78-8F49-F1B96336102D">
+        <omgdi:waypoint x="565.0" y="297.4999986754526"></omgdi:waypoint>
+        <omgdi:waypoint x="595.9523804718195" y="299.0476168790857"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-22A32961-337F-4185-8E96-CF46812C6A5A" id="BPMNEdge_sid-22A32961-337F-4185-8E96-CF46812C6A5A">
+        <omgdi:waypoint x="1565.0" y="300.15482398956976"></omgdi:waypoint>
+        <omgdi:waypoint x="1609.9473684210525" y="300.29400260756194"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-C916BA74-384F-4684-8ADB-16EA158FDE07" id="BPMNEdge_sid-C916BA74-384F-4684-8ADB-16EA158FDE07">
+        <omgdi:waypoint x="634.400000500679" y="299.39999785158415"></omgdi:waypoint>
+        <omgdi:waypoint x="660.0" y="297.91005150841545"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D" id="BPMNEdge_sid-F5AEDECD-FD07-4C0B-85F9-EA3650C05E7D">
+        <omgdi:waypoint x="175.0" y="295.199203187251"></omgdi:waypoint>
+        <omgdi:waypoint x="230.42000000000002" y="295.42"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6" id="BPMNEdge_sid-1C4E0AB0-14F9-4EC5-8D09-DB98FAF51BE6">
+        <omgdi:waypoint x="269.5736434108527" y="295.4263565891473"></omgdi:waypoint>
+        <omgdi:waypoint x="330.0" y="295.1930501930502"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-16929529-744D-4509-923E-820FA2E3AEE3" id="BPMNEdge_sid-16929529-744D-4509-923E-820FA2E3AEE3">
+        <omgdi:waypoint x="1384.1019783039494" y="300.8980190469557"></omgdi:waypoint>
+        <omgdi:waypoint x="1465.0" y="300.34302239075885"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-22C499F4-7179-4558-BC4C-77EF7453FA56" id="BPMNEdge_sid-22C499F4-7179-4558-BC4C-77EF7453FA56">
+        <omgdi:waypoint x="965.0" y="299.9999973509052"></omgdi:waypoint>
+        <omgdi:waypoint x="1000.0" y="299.9999973509052"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413" id="BPMNEdge_sid-C8320F28-BF8F-4B0D-AAB8-5D32DBAA3413">
+        <omgdi:waypoint x="45.0" y="295.0"></omgdi:waypoint>
+        <omgdi:waypoint x="75.0" y="295.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11" id="BPMNEdge_sid-8EBC7DDA-2971-44DA-B74C-AAE347AD9A11">
+        <omgdi:waypoint x="829.5913461538461" y="300.40865119705865"></omgdi:waypoint>
+        <omgdi:waypoint x="865.0" y="300.2392318006658"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413" id="BPMNEdge_sid-45DED472-AC98-4ED3-B1EE-3EE6305F1413">
+        <omgdi:waypoint x="250.5" y="275.5"></omgdi:waypoint>
+        <omgdi:waypoint x="250.5" y="233.01446533203125"></omgdi:waypoint>
+        <omgdi:waypoint x="515.0" y="232.01446533203125"></omgdi:waypoint>
+        <omgdi:waypoint x="515.0" y="255.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31" id="BPMNEdge_sid-E8B3C95F-9348-427A-AABB-7EC671CCDE31">
+        <omgdi:waypoint x="615.5" y="319.49999735090523"></omgdi:waypoint>
+        <omgdi:waypoint x="615.5" y="400.0"></omgdi:waypoint>
+        <omgdi:waypoint x="300.0" y="400.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4" id="BPMNEdge_sid-7B00C50E-3979-4923-B9D9-0FC3F918ADE4">
+        <omgdi:waypoint x="1310.0000000000002" y="300.4860824681864"></omgdi:waypoint>
+        <omgdi:waypoint x="1345.8344570423644" y="300.83445439326965"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-D683E891-1671-40A6-9103-C03866D0640B" id="BPMNEdge_sid-D683E891-1671-40A6-9103-C03866D0640B">
+        <omgdi:waypoint x="1367.1825678369623" y="282.18256518786757"></omgdi:waypoint>
+        <omgdi:waypoint x="1367.1825678369623" y="230.01446533203125"></omgdi:waypoint>
+        <omgdi:waypoint x="1676.4736842105262" y="229.01446533203125"></omgdi:waypoint>
+        <omgdi:waypoint x="1676.4736842105262" y="261.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-5D55B4DC-21FF-4637-BCC7-6C25F06523A3" id="BPMNEdge_sid-5D55B4DC-21FF-4637-BCC7-6C25F06523A3">
+        <omgdi:waypoint x="250.0" y="360.0"></omgdi:waypoint>
+        <omgdi:waypoint x="250.0" y="315.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D" id="BPMNEdge_sid-8CFFAD62-3714-4072-BB0E-847F0F1CED8D">
+        <omgdi:waypoint x="759.9999999999999" y="298.04875241876954"></omgdi:waypoint>
+        <omgdi:waypoint x="790.1149824221222" y="299.88501492878254"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-E19E2941-6B2A-4114-B292-5D789BA0959A" id="BPMNEdge_sid-E19E2941-6B2A-4114-B292-5D789BA0959A">
+        <omgdi:waypoint x="1174.5913461538462" y="300.4086511970586"></omgdi:waypoint>
+        <omgdi:waypoint x="1210.0" y="300.2392318006655"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32" id="BPMNEdge_sid-EE3F6C40-10E4-45A9-AD18-A407C3DAED32">
+        <omgdi:waypoint x="810.0" y="319.9999973509047"></omgdi:waypoint>
+        <omgdi:waypoint x="810.0" y="400.0"></omgdi:waypoint>
+        <omgdi:waypoint x="300.0" y="400.0"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="sid-D6C377D7-98CC-4D68-B577-22E60AD1578A" id="BPMNEdge_sid-D6C377D7-98CC-4D68-B577-22E60AD1578A">
+        <omgdi:waypoint x="1155.5" y="280.4999973509047"></omgdi:waypoint>
+        <omgdi:waypoint x="1155.5" y="230.0162811279297"></omgdi:waypoint>
+        <omgdi:waypoint x="1301.611328125" y="230.0162811279297"></omgdi:waypoint>
+        <omgdi:waypoint x="1355.30530294893" y="289.69469440197537"></omgdi:waypoint>
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>