yangys
2025-09-06 61763cc1a182effa7e5535ac72d54a6a56f029eb
blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml
@@ -2,35 +2,42 @@
<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:flowable="http://flowable.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.flowable.org/processdef">
  <process id="program-cure" name="固化流程" isExecutable="true">
    <startEvent id="sid-abe970b9-1bee-49a1-91b4-1184c47c10b7"/>
    <userTask id="cureProgramTask" name="固化编制"/>
    <sequenceFlow id="sid-910649a5-8dac-48a2-b42d-9f1132d61b26" sourceRef="cureProgramTask" targetRef="cureProgramTask"/>
    <userTask id="cureProgramTask" name="固化编制" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-09c7cf44-bb1a-40f4-b231-919afae5c02f" sourceRef="sid-abe970b9-1bee-49a1-91b4-1184c47c10b7" targetRef="cureProgramTask"/>
    <endEvent id="end" name="固化结束"/>
    <userTask id="seniorApproveTask" name="高师审核"/>
    <userTask id="seniorApproveTask" name="高师审核" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-8dd21f02-ac10-4318-b897-19b4cdc558c7" sourceRef="cureProgramTask" targetRef="cureCheckTask">
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-504610fe-2b87-4df4-8f42-f10c8bf3ce01" sourceRef="seniorApproveTask" targetRef="cureOKOperateTask">
      <conditionExpression>${approve=='Y'</conditionExpression>
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <userTask id="cureCheckTask" name="固化校对"/>
    <userTask id="cureCheckTask" name="固化校对" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-b4ad2b36-5fcc-4449-924b-55b0425b1278" sourceRef="cureCheckTask" targetRef="cureProgramTask">
      <conditionExpression>${approve=='N'</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-f626de1f-b668-49b8-bd06-6e8039abf2fc" sourceRef="cureCheckTask" targetRef="seniorApproveTask">
      <conditionExpression>${approve=='Y'</conditionExpression>
    </sequenceFlow>
    <endEvent id="cureProgramingNoEnd" name="固化编制结束"/>
    <sequenceFlow id="sid-a3a0654d-e9fd-4814-a1bd-384dce8a3b7a" sourceRef="cureProgramTask" targetRef="cureProgramingNoEnd">
      <conditionExpression>${approve=='N'</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-c04cc547-0baf-4514-8056-54b1612cdefd" sourceRef="seniorApproveTask" targetRef="cureCheckTask">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <serviceTask id="cureOKOperateTask" flowable:exclusive="true" name="固化处理任务">
    <sequenceFlow id="sid-f626de1f-b668-49b8-bd06-6e8039abf2fc" sourceRef="cureCheckTask" targetRef="seniorApproveTask">
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <endEvent id="cureProgramingNoEnd" name="固化编制结束"/>
    <sequenceFlow id="sid-a3a0654d-e9fd-4814-a1bd-384dce8a3b7a" sourceRef="cureProgramTask" targetRef="programMgrConfirm">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-c04cc547-0baf-4514-8056-54b1612cdefd" sourceRef="seniorApproveTask" targetRef="cureProgramTask">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <serviceTask id="cureOKOperateTask" flowable:exclusive="true" name="固化处理任务" flowable:expression="${cureFinishOperateTask.execute(execution)}">
      <documentation>设置数据的固化标志,生成固化程序列表</documentation>
    </serviceTask>
    <sequenceFlow id="sid-253f5be1-3275-47d6-a3a1-5d1eaf01ec79" sourceRef="cureOKOperateTask" targetRef="end"/>
    <scriptTask id="exceptionHandleTask" scriptFormat="groovy" name="异常标记设置">
      <script><![CDATA[
      execution.setVariable("exception", "1");
      ]]></script>
    </scriptTask>
    <sequenceFlow id="sid-f8533f07-b17b-4a37-89b2-bfa7e014cd08" sourceRef="exceptionHandleTask" targetRef="cureProgramingNoEnd"/>
    <userTask id="programMgrConfirm" name="程序管理员确认" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-8e4bff35-c436-419b-8df8-cd1161ade204" sourceRef="programMgrConfirm" targetRef="exceptionHandleTask"/>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_program-cure">
    <bpmndi:BPMNPlane bpmnElement="program-cure" id="BPMNPlane_program-cure">
@@ -74,15 +81,15 @@
        <omgdi:waypoint x="25.0" y="-68.75"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-b240ebd6-4961-477a-9621-67f9b92bde64" bpmnElement="cureProgramingNoEnd">
        <omgdc:Bounds x="-160.0" y="-5.0" width="30.0" height="30.0"/>
        <omgdc:Bounds x="-240.0" y="40.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-d760db6d-fd9f-435e-8d42-3613cb75be57" bpmnElement="sid-a3a0654d-e9fd-4814-a1bd-384dce8a3b7a">
        <omgdi:waypoint x="-130.0" y="-56.25"/>
        <omgdi:waypoint x="-137.5" y="-5.0"/>
        <omgdi:waypoint x="-92.5" y="-10.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-5c7dd10c-358c-4088-8af7-4d2ada7247db" bpmnElement="sid-c04cc547-0baf-4514-8056-54b1612cdefd">
        <omgdi:waypoint x="41.25" y="-60.0"/>
        <omgdi:waypoint x="30.0" y="-16.25"/>
        <omgdi:waypoint x="25.0" y="-86.25"/>
        <omgdi:waypoint x="-55.0" y="-83.75"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-3fd20ebd-d032-45ac-b790-0e96cfa030ff" bpmnElement="cureOKOperateTask">
        <omgdc:Bounds x="110.0" y="-42.5" width="65.0" height="50.0"/>
@@ -91,6 +98,20 @@
        <omgdi:waypoint x="175.0" y="-30.0"/>
        <omgdi:waypoint x="197.5" y="-52.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-914147ff-52e6-4152-834c-0bc3c552c53a" bpmnElement="exceptionHandleTask">
        <omgdc:Bounds x="-192.5" y="-12.5" width="50.0" height="45.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-19b7d7ad-693c-4677-af1d-e0b630e6d7ef" bpmnElement="sid-f8533f07-b17b-4a37-89b2-bfa7e014cd08">
        <omgdi:waypoint x="-192.5" y="21.25"/>
        <omgdi:waypoint x="-217.5" y="40.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-e9859997-6e09-483f-ae53-f7dfe0a99533" bpmnElement="programMgrConfirm">
        <omgdc:Bounds x="-120.0" y="-10.0" width="55.0" height="40.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-b95990aa-31c7-44ce-8c31-d505a2805c8f" bpmnElement="sid-8e4bff35-c436-419b-8df8-cd1161ade204">
        <omgdi:waypoint x="-120.0" y="10.0"/>
        <omgdi:waypoint x="-142.5" y="21.25"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>