yangys
2025-08-20 295bf6f10ad0b668d2dbaa4525a15d6d52807ef1
blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml
@@ -2,13 +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="高师审核"/>
    <sequenceFlow id="sid-8dd21f02-ac10-4318-b897-19b4cdc558c7" sourceRef="cureProgramTask" targetRef="seniorApproveTask"/>
    <sequenceFlow id="sid-504610fe-2b87-4df4-8f42-f10c8bf3ce01" sourceRef="seniorApproveTask" targetRef="end"/>
    <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>
    </sequenceFlow>
    <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="programMgrConfirm">
      <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="固化处理任务" 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">
@@ -16,15 +45,15 @@
        <omgdc:Bounds x="-215.0" y="-85.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-702fceb1-2073-4a25-a94d-86c2392dfc6f" bpmnElement="cureProgramTask">
        <omgdc:Bounds x="-110.0" y="-95.0" width="75.0" height="55.0"/>
        <omgdc:Bounds x="-130.0" y="-97.5" width="75.0" height="55.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-fbb946ca-a477-4237-b78f-72cf4e0b8479" bpmnElement="sid-910649a5-8dac-48a2-b42d-9f1132d61b26">
        <omgdi:waypoint x="-110.0" y="-67.5"/>
        <omgdi:waypoint x="-110.0" y="-67.5"/>
        <omgdi:waypoint x="-130.0" y="-70.0"/>
        <omgdi:waypoint x="-130.0" y="-70.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-53030742-9070-4825-949f-edc502019050" bpmnElement="sid-09c7cf44-bb1a-40f4-b231-919afae5c02f">
        <omgdi:waypoint x="-185.0" y="-77.5"/>
        <omgdi:waypoint x="-110.0" y="-81.25"/>
        <omgdi:waypoint x="-130.0" y="-83.75"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-99ebb425-cb2f-45f3-93e2-4ca390bc8099" bpmnElement="end">
        <omgdc:Bounds x="190.0" y="-82.5" width="30.0" height="30.0"/>
@@ -33,12 +62,55 @@
        <omgdc:Bounds x="25.0" y="-95.0" width="65.0" height="35.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-94601323-c6bd-48f8-94fd-f61c6b550126" bpmnElement="sid-8dd21f02-ac10-4318-b897-19b4cdc558c7">
        <omgdi:waypoint x="-35.0" y="-67.5"/>
        <omgdi:waypoint x="25.0" y="-68.75"/>
        <omgdi:waypoint x="-55.0" y="-70.0"/>
        <omgdi:waypoint x="-18.75" y="-30.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-b93559c6-90f6-46e1-a6e6-4b0a2a5bc33b" bpmnElement="sid-504610fe-2b87-4df4-8f42-f10c8bf3ce01">
        <omgdi:waypoint x="90.0" y="-68.75"/>
        <omgdi:waypoint x="190.0" y="-67.5"/>
        <omgdi:waypoint x="110.0" y="-30.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-973e6efe-200d-4455-b93a-291f4275cff3" bpmnElement="cureCheckTask">
        <omgdc:Bounds x="-35.0" y="-30.0" width="65.0" height="55.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-647fdbd6-6c23-4065-b2a9-481064f87e66" bpmnElement="sid-b4ad2b36-5fcc-4449-924b-55b0425b1278">
        <omgdi:waypoint x="-35.0" y="-16.25"/>
        <omgdi:waypoint x="-111.25" y="-42.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-a7d3717d-3b8b-45d5-9c16-cc9384d91ad4" bpmnElement="sid-f626de1f-b668-49b8-bd06-6e8039abf2fc">
        <omgdi:waypoint x="13.75" y="-30.0"/>
        <omgdi:waypoint x="25.0" y="-68.75"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-b240ebd6-4961-477a-9621-67f9b92bde64" bpmnElement="cureProgramingNoEnd">
        <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="-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"/>
      </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"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-8d82a390-1882-4936-b824-4d3cf309c628" bpmnElement="sid-253f5be1-3275-47d6-a3a1-5d1eaf01ec79">
        <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>