LAPTOP-FO2T5SIU\35838 5 月之前
父節點
當前提交
cbc3e8cc73

+ 1 - 1
pro-base/src/main/java/com/idea/oa/apply/controller/ApplyFinanceController.java

@@ -41,7 +41,7 @@ import java.util.Map;
  */
 @Slf4j
 @Controller
-@RequestMapping(value = "/ApplyPaymentSettleController")
+@RequestMapping(value = "/ApplyFinanceController")
 @Api(value = "分表_上交财政流程申请")
 public class ApplyFinanceController extends BaseController {
 

+ 7 - 0
pro-base/src/main/java/com/idea/oa/apply/util/service/RunerLoadOneService.java

@@ -63,6 +63,13 @@ public class RunerLoadOneService {
 //        System.out.println(ConstantFlowType.OFF_WORK_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.OFF_WORK_DEPLOYMENTID);
 //        System.out.println(ConstantFlowType.PURCHASE_WORK_PROCESS_DEFINE+"流程编号为:"+ConstantFlowType.PURCHASE_WORK_DEPLOYMENT_ID);
         System.out.println(ConstantFlowType.PAYMENT_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.PAYMENT_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.CHECK_IN_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.CHECK_IN_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.CONTRACT_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.CONTRACT_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.RECEIVABLES_ADJUST_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.RECEIVABLES_ADJUST_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.INVOICE_RED_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.INVOICE_RED_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.BUYING_MORE_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.BUYING_MORE_DEPLOYMENTID);
+        System.out.println(ConstantFlowType.FINANCE_PROCESSDEFINE+"流程编号为:"+ConstantFlowType.FINANCE_DEPLOYMENTID);
+
 
     }
 

+ 8 - 3
pro-base/src/main/java/com/idea/oa/flow2/controller/FlowMainController.java

@@ -576,37 +576,42 @@ public class FlowMainController extends BaseController {
 
                 try {
                     FlowMain flowMain = modelService.selectByPrimaryKey(flowMainPush.getFlowMainId());
+                    String waitUrl = parkWaitHandleService.getUrl("流程审批", "付款流程审批");
                     // 进行审核操作后 就要处理待办 清除数据
                     String param = "id=" + flowMain.getId() + "&flowMainPushId=" + entity.getFlowMainPushId() + "&applyUser=" + flowMain.getApplyUser();
-                    parkWaitHandleService.userHandle(HandleTypeEnum.FK, param, ShiroUtils.getUserId());
-
-                    String waitUrl = parkWaitHandleService.getUrl("流程审批", "付款流程审批");
                     // 付款申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.PAYMENT)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.FK, param, ShiroUtils.getUserId());
                         applyPaymentSettleService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 入驻申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.CHECK_IN)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.RZ, param, ShiroUtils.getUserId());
                         applyCheckInService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 合同用章申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.CONTRACT)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.HTYZ, param, ShiroUtils.getUserId());
                         applyContractService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 应收款调整申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.RECEIVABLES_ADJUST)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.YSKTZ, param, ShiroUtils.getUserId());
                         applyReceivablesAdjustService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 发票红冲申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.INVOICE_RED)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.FPHC, param, ShiroUtils.getUserId());
                         applyInvoiceRedService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 回购申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.BUYING_MORE)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.HG, param, ShiroUtils.getUserId());
                         applyBuyingMoreService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                     // 上交财政申请
                     if(flowMain.getFlowType().equals(ConstantFlowType.FINANCE)){
+                        parkWaitHandleService.userHandle(HandleTypeEnum.SJCZ, param, ShiroUtils.getUserId());
                         applyFinanceService.pushOaAndHandle(newflowMainPush,flowMain,waitUrl);
                     }
                 }catch (Exception e){

+ 245 - 0
pro-main/src/main/resources/processes/applyBuyingMore.bpmn

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
+  <process id="applyBuyingMore" name="回购申请" processType="None" isClosed="false" isExecutable="true">
+    <startEvent id="_2" name="发起申请" />
+    <endEvent id="_26" name="结束" />
+    <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
+      <incoming>Flow_1u7oj37</incoming>
+    </userTask>
+    <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
+    <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
+      <incoming>Flow_0tf77t6</incoming>
+      <outgoing>Flow_1u7oj37</outgoing>
+    </userTask>
+    <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
+      <incoming>Flow_0sq564u</incoming>
+      <outgoing>Flow_0tf77t6</outgoing>
+    </userTask>
+    <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
+      <incoming>Flow_1yk6pxs</incoming>
+      <outgoing>Flow_0sq564u</outgoing>
+    </userTask>
+    <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
+      <incoming>Flow_0huyir4</incoming>
+      <outgoing>Flow_1yk6pxs</outgoing>
+    </userTask>
+    <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
+      <outgoing>Flow_0huyir4</outgoing>
+    </userTask>
+    <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0">
+    <bpmndi:BPMNPlane bpmnElement="applyPayment">
+      <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
+        <omgdc:Bounds x="45" y="115" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
+        <omgdc:Bounds x="1180" y="510" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
+        <omgdc:Bounds x="135" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
+        <omgdc:Bounds x="330" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
+        <omgdc:Bounds x="520" y="245" width="95" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="95" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
+        <omgdc:Bounds x="730" y="245" width="100" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="100" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
+        <omgdc:Bounds x="930" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
+        <omgdc:Bounds x="1140" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
+        <omgdi:waypoint x="63" y="146.87450786638755" />
+        <omgdi:waypoint x="63" y="219" />
+        <omgdi:waypoint x="135" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
+        <omgdi:waypoint x="220" y="272.5" />
+        <omgdi:waypoint x="330" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
+        <omgdi:waypoint x="415" y="272.5" />
+        <omgdi:waypoint x="520" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
+        <omgdi:waypoint x="615" y="272.5" />
+        <omgdi:waypoint x="730" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
+        <omgdi:waypoint x="830" y="272.5" />
+        <omgdi:waypoint x="930" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
+        <omgdi:waypoint x="1040" y="272.5" />
+        <omgdi:waypoint x="1140" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="-11" y="0" width="23" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
+        <omgdi:waypoint x="1196" y="300" />
+        <omgdi:waypoint x="1196" y="510" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
+        <omgdi:waypoint x="372.5" y="245" />
+        <omgdi:waypoint x="285" y="225" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
+        <omgdi:waypoint x="567.5" y="245" />
+        <omgdi:waypoint x="375" y="195" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
+        <omgdi:waypoint x="780" y="245" />
+        <omgdi:waypoint x="475" y="165" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
+        <omgdi:waypoint x="985" y="245" />
+        <omgdi:waypoint x="600" y="135" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
+        <omgdi:waypoint x="1195" y="245" />
+        <omgdi:waypoint x="675" y="105" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
+        <omgdi:waypoint x="521" y="295" />
+        <omgdi:waypoint x="468" y="320" />
+        <omgdi:waypoint x="413" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
+        <omgdi:waypoint x="731" y="294" />
+        <omgdi:waypoint x="673" y="320" />
+        <omgdi:waypoint x="613" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
+        <omgdi:waypoint x="931" y="292" />
+        <omgdi:waypoint x="880" y="310" />
+        <omgdi:waypoint x="824" y="299" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
+        <omgdi:waypoint x="1143" y="296" />
+        <omgdi:waypoint x="1090" y="320" />
+        <omgdi:waypoint x="1020" y="300" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
+        <omgdi:waypoint x="331" y="293" />
+        <omgdi:waypoint x="275" y="320" />
+        <omgdi:waypoint x="217" y="297" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>

+ 245 - 0
pro-main/src/main/resources/processes/applyContract.bpmn

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
+  <process id="applyContract" name="合同用章申请" processType="None" isClosed="false" isExecutable="true">
+    <startEvent id="_2" name="发起申请" />
+    <endEvent id="_26" name="结束" />
+    <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
+      <incoming>Flow_1u7oj37</incoming>
+    </userTask>
+    <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
+    <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
+      <incoming>Flow_0tf77t6</incoming>
+      <outgoing>Flow_1u7oj37</outgoing>
+    </userTask>
+    <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
+      <incoming>Flow_0sq564u</incoming>
+      <outgoing>Flow_0tf77t6</outgoing>
+    </userTask>
+    <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
+      <incoming>Flow_1yk6pxs</incoming>
+      <outgoing>Flow_0sq564u</outgoing>
+    </userTask>
+    <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
+      <incoming>Flow_0huyir4</incoming>
+      <outgoing>Flow_1yk6pxs</outgoing>
+    </userTask>
+    <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
+      <outgoing>Flow_0huyir4</outgoing>
+    </userTask>
+    <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0">
+    <bpmndi:BPMNPlane bpmnElement="applyPayment">
+      <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
+        <omgdc:Bounds x="45" y="115" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
+        <omgdc:Bounds x="1180" y="510" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
+        <omgdc:Bounds x="135" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
+        <omgdc:Bounds x="330" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
+        <omgdc:Bounds x="520" y="245" width="95" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="95" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
+        <omgdc:Bounds x="730" y="245" width="100" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="100" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
+        <omgdc:Bounds x="930" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
+        <omgdc:Bounds x="1140" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
+        <omgdi:waypoint x="63" y="146.87450786638755" />
+        <omgdi:waypoint x="63" y="219" />
+        <omgdi:waypoint x="135" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
+        <omgdi:waypoint x="220" y="272.5" />
+        <omgdi:waypoint x="330" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
+        <omgdi:waypoint x="415" y="272.5" />
+        <omgdi:waypoint x="520" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
+        <omgdi:waypoint x="615" y="272.5" />
+        <omgdi:waypoint x="730" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
+        <omgdi:waypoint x="830" y="272.5" />
+        <omgdi:waypoint x="930" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
+        <omgdi:waypoint x="1040" y="272.5" />
+        <omgdi:waypoint x="1140" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="-11" y="0" width="23" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
+        <omgdi:waypoint x="1196" y="300" />
+        <omgdi:waypoint x="1196" y="510" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
+        <omgdi:waypoint x="372.5" y="245" />
+        <omgdi:waypoint x="285" y="225" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
+        <omgdi:waypoint x="567.5" y="245" />
+        <omgdi:waypoint x="375" y="195" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
+        <omgdi:waypoint x="780" y="245" />
+        <omgdi:waypoint x="475" y="165" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
+        <omgdi:waypoint x="985" y="245" />
+        <omgdi:waypoint x="600" y="135" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
+        <omgdi:waypoint x="1195" y="245" />
+        <omgdi:waypoint x="675" y="105" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
+        <omgdi:waypoint x="521" y="295" />
+        <omgdi:waypoint x="468" y="320" />
+        <omgdi:waypoint x="413" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
+        <omgdi:waypoint x="731" y="294" />
+        <omgdi:waypoint x="673" y="320" />
+        <omgdi:waypoint x="613" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
+        <omgdi:waypoint x="931" y="292" />
+        <omgdi:waypoint x="880" y="310" />
+        <omgdi:waypoint x="824" y="299" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
+        <omgdi:waypoint x="1143" y="296" />
+        <omgdi:waypoint x="1090" y="320" />
+        <omgdi:waypoint x="1020" y="300" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
+        <omgdi:waypoint x="331" y="293" />
+        <omgdi:waypoint x="275" y="320" />
+        <omgdi:waypoint x="217" y="297" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>

+ 245 - 0
pro-main/src/main/resources/processes/applyFinance.bpmn

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
+  <process id="applyFinance" name="上交财政申请" processType="None" isClosed="false" isExecutable="true">
+    <startEvent id="_2" name="发起申请" />
+    <endEvent id="_26" name="结束" />
+    <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
+      <incoming>Flow_1u7oj37</incoming>
+    </userTask>
+    <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
+    <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
+      <incoming>Flow_0tf77t6</incoming>
+      <outgoing>Flow_1u7oj37</outgoing>
+    </userTask>
+    <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
+      <incoming>Flow_0sq564u</incoming>
+      <outgoing>Flow_0tf77t6</outgoing>
+    </userTask>
+    <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
+      <incoming>Flow_1yk6pxs</incoming>
+      <outgoing>Flow_0sq564u</outgoing>
+    </userTask>
+    <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
+      <incoming>Flow_0huyir4</incoming>
+      <outgoing>Flow_1yk6pxs</outgoing>
+    </userTask>
+    <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
+      <outgoing>Flow_0huyir4</outgoing>
+    </userTask>
+    <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0">
+    <bpmndi:BPMNPlane bpmnElement="applyPayment">
+      <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
+        <omgdc:Bounds x="45" y="115" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
+        <omgdc:Bounds x="1180" y="510" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
+        <omgdc:Bounds x="135" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
+        <omgdc:Bounds x="330" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
+        <omgdc:Bounds x="520" y="245" width="95" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="95" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
+        <omgdc:Bounds x="730" y="245" width="100" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="100" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
+        <omgdc:Bounds x="930" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
+        <omgdc:Bounds x="1140" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
+        <omgdi:waypoint x="63" y="146.87450786638755" />
+        <omgdi:waypoint x="63" y="219" />
+        <omgdi:waypoint x="135" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
+        <omgdi:waypoint x="220" y="272.5" />
+        <omgdi:waypoint x="330" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
+        <omgdi:waypoint x="415" y="272.5" />
+        <omgdi:waypoint x="520" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
+        <omgdi:waypoint x="615" y="272.5" />
+        <omgdi:waypoint x="730" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
+        <omgdi:waypoint x="830" y="272.5" />
+        <omgdi:waypoint x="930" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
+        <omgdi:waypoint x="1040" y="272.5" />
+        <omgdi:waypoint x="1140" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="-11" y="0" width="23" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
+        <omgdi:waypoint x="1196" y="300" />
+        <omgdi:waypoint x="1196" y="510" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
+        <omgdi:waypoint x="372.5" y="245" />
+        <omgdi:waypoint x="285" y="225" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
+        <omgdi:waypoint x="567.5" y="245" />
+        <omgdi:waypoint x="375" y="195" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
+        <omgdi:waypoint x="780" y="245" />
+        <omgdi:waypoint x="475" y="165" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
+        <omgdi:waypoint x="985" y="245" />
+        <omgdi:waypoint x="600" y="135" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
+        <omgdi:waypoint x="1195" y="245" />
+        <omgdi:waypoint x="675" y="105" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
+        <omgdi:waypoint x="521" y="295" />
+        <omgdi:waypoint x="468" y="320" />
+        <omgdi:waypoint x="413" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
+        <omgdi:waypoint x="731" y="294" />
+        <omgdi:waypoint x="673" y="320" />
+        <omgdi:waypoint x="613" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
+        <omgdi:waypoint x="931" y="292" />
+        <omgdi:waypoint x="880" y="310" />
+        <omgdi:waypoint x="824" y="299" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
+        <omgdi:waypoint x="1143" y="296" />
+        <omgdi:waypoint x="1090" y="320" />
+        <omgdi:waypoint x="1020" y="300" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
+        <omgdi:waypoint x="331" y="293" />
+        <omgdi:waypoint x="275" y="320" />
+        <omgdi:waypoint x="217" y="297" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>

+ 245 - 0
pro-main/src/main/resources/processes/applyInvoiceRed.bpmn

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
+  <process id="applyInvoiceRed" name="发票红冲申请" processType="None" isClosed="false" isExecutable="true">
+    <startEvent id="_2" name="发起申请" />
+    <endEvent id="_26" name="结束" />
+    <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
+      <incoming>Flow_1u7oj37</incoming>
+    </userTask>
+    <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
+    <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
+      <incoming>Flow_0tf77t6</incoming>
+      <outgoing>Flow_1u7oj37</outgoing>
+    </userTask>
+    <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
+      <incoming>Flow_0sq564u</incoming>
+      <outgoing>Flow_0tf77t6</outgoing>
+    </userTask>
+    <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
+      <incoming>Flow_1yk6pxs</incoming>
+      <outgoing>Flow_0sq564u</outgoing>
+    </userTask>
+    <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
+      <incoming>Flow_0huyir4</incoming>
+      <outgoing>Flow_1yk6pxs</outgoing>
+    </userTask>
+    <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
+      <outgoing>Flow_0huyir4</outgoing>
+    </userTask>
+    <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0">
+    <bpmndi:BPMNPlane bpmnElement="applyPayment">
+      <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
+        <omgdc:Bounds x="45" y="115" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
+        <omgdc:Bounds x="1180" y="510" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
+        <omgdc:Bounds x="135" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
+        <omgdc:Bounds x="330" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
+        <omgdc:Bounds x="520" y="245" width="95" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="95" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
+        <omgdc:Bounds x="730" y="245" width="100" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="100" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
+        <omgdc:Bounds x="930" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
+        <omgdc:Bounds x="1140" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
+        <omgdi:waypoint x="63" y="146.87450786638755" />
+        <omgdi:waypoint x="63" y="219" />
+        <omgdi:waypoint x="135" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
+        <omgdi:waypoint x="220" y="272.5" />
+        <omgdi:waypoint x="330" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
+        <omgdi:waypoint x="415" y="272.5" />
+        <omgdi:waypoint x="520" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
+        <omgdi:waypoint x="615" y="272.5" />
+        <omgdi:waypoint x="730" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
+        <omgdi:waypoint x="830" y="272.5" />
+        <omgdi:waypoint x="930" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
+        <omgdi:waypoint x="1040" y="272.5" />
+        <omgdi:waypoint x="1140" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="-11" y="0" width="23" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
+        <omgdi:waypoint x="1196" y="300" />
+        <omgdi:waypoint x="1196" y="510" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
+        <omgdi:waypoint x="372.5" y="245" />
+        <omgdi:waypoint x="285" y="225" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
+        <omgdi:waypoint x="567.5" y="245" />
+        <omgdi:waypoint x="375" y="195" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
+        <omgdi:waypoint x="780" y="245" />
+        <omgdi:waypoint x="475" y="165" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
+        <omgdi:waypoint x="985" y="245" />
+        <omgdi:waypoint x="600" y="135" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
+        <omgdi:waypoint x="1195" y="245" />
+        <omgdi:waypoint x="675" y="105" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
+        <omgdi:waypoint x="521" y="295" />
+        <omgdi:waypoint x="468" y="320" />
+        <omgdi:waypoint x="413" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
+        <omgdi:waypoint x="731" y="294" />
+        <omgdi:waypoint x="673" y="320" />
+        <omgdi:waypoint x="613" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
+        <omgdi:waypoint x="931" y="292" />
+        <omgdi:waypoint x="880" y="310" />
+        <omgdi:waypoint x="824" y="299" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
+        <omgdi:waypoint x="1143" y="296" />
+        <omgdi:waypoint x="1090" y="320" />
+        <omgdi:waypoint x="1020" y="300" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
+        <omgdi:waypoint x="331" y="293" />
+        <omgdi:waypoint x="275" y="320" />
+        <omgdi:waypoint x="217" y="297" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>

+ 245 - 0
pro-main/src/main/resources/processes/applyReceivablesAdjust.bpmn

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
+  <process id="applyReceivablesAdjust" name="应收款调整申请" processType="None" isClosed="false" isExecutable="true">
+    <startEvent id="_2" name="发起申请" />
+    <endEvent id="_26" name="结束" />
+    <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
+      <incoming>Flow_1u7oj37</incoming>
+    </userTask>
+    <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
+    <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
+      <incoming>Flow_0tf77t6</incoming>
+      <outgoing>Flow_1u7oj37</outgoing>
+    </userTask>
+    <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
+      <incoming>Flow_0sq564u</incoming>
+      <outgoing>Flow_0tf77t6</outgoing>
+    </userTask>
+    <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
+      <incoming>Flow_1yk6pxs</incoming>
+      <outgoing>Flow_0sq564u</outgoing>
+    </userTask>
+    <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
+      <incoming>Flow_0huyir4</incoming>
+      <outgoing>Flow_1yk6pxs</outgoing>
+    </userTask>
+    <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
+      <outgoing>Flow_0huyir4</outgoing>
+    </userTask>
+    <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+    <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
+      <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
+    </sequenceFlow>
+  </process>
+  <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0">
+    <bpmndi:BPMNPlane bpmnElement="applyPayment">
+      <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
+        <omgdc:Bounds x="45" y="115" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
+        <omgdc:Bounds x="1180" y="510" width="32" height="32" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="32" height="32" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
+        <omgdc:Bounds x="135" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
+        <omgdc:Bounds x="330" y="245" width="85" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="85" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
+        <omgdc:Bounds x="520" y="245" width="95" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="95" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
+        <omgdc:Bounds x="730" y="245" width="100" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="100" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
+        <omgdc:Bounds x="930" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
+        <omgdc:Bounds x="1140" y="245" width="110" height="55" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="110" height="55" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
+        <omgdi:waypoint x="63" y="146.87450786638755" />
+        <omgdi:waypoint x="63" y="219" />
+        <omgdi:waypoint x="135" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
+        <omgdi:waypoint x="220" y="272.5" />
+        <omgdi:waypoint x="330" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
+        <omgdi:waypoint x="415" y="272.5" />
+        <omgdi:waypoint x="520" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
+        <omgdi:waypoint x="615" y="272.5" />
+        <omgdi:waypoint x="730" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
+        <omgdi:waypoint x="830" y="272.5" />
+        <omgdi:waypoint x="930" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
+        <omgdi:waypoint x="1040" y="272.5" />
+        <omgdi:waypoint x="1140" y="272.5" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="-11" y="0" width="23" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
+        <omgdi:waypoint x="1196" y="300" />
+        <omgdi:waypoint x="1196" y="510" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
+        <omgdi:waypoint x="372.5" y="245" />
+        <omgdi:waypoint x="285" y="225" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
+        <omgdi:waypoint x="567.5" y="245" />
+        <omgdi:waypoint x="375" y="195" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
+        <omgdi:waypoint x="780" y="245" />
+        <omgdi:waypoint x="475" y="165" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
+        <omgdi:waypoint x="985" y="245" />
+        <omgdi:waypoint x="600" y="135" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
+        <omgdi:waypoint x="1195" y="245" />
+        <omgdi:waypoint x="675" y="105" />
+        <omgdi:waypoint x="177.5" y="245" />
+        <bpmndi:BPMNLabel>
+          <omgdc:Bounds x="0" y="0" width="0" height="0" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
+        <omgdi:waypoint x="521" y="295" />
+        <omgdi:waypoint x="468" y="320" />
+        <omgdi:waypoint x="413" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
+        <omgdi:waypoint x="731" y="294" />
+        <omgdi:waypoint x="673" y="320" />
+        <omgdi:waypoint x="613" y="295" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
+        <omgdi:waypoint x="931" y="292" />
+        <omgdi:waypoint x="880" y="310" />
+        <omgdi:waypoint x="824" y="299" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
+        <omgdi:waypoint x="1143" y="296" />
+        <omgdi:waypoint x="1090" y="320" />
+        <omgdi:waypoint x="1020" y="300" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
+        <omgdi:waypoint x="331" y="293" />
+        <omgdi:waypoint x="275" y="320" />
+        <omgdi:waypoint x="217" y="297" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</definitions>