From 5d8c1b6fec3739714c41c0b0c928149487eb34c4 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 18 八月 2025 09:54:52 +0800
Subject: [PATCH] 流程图都增加异标记
---
blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml b/blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml
index df201aa..32b8c4f 100644
--- a/blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml
+++ b/blade-service/blade-mdm/src/main/resources/processesbpmn/program-cure.bpmn20.xml
@@ -20,7 +20,7 @@
<conditionExpression>${approve=='Y'}</conditionExpression>
</sequenceFlow>
<endEvent id="cureProgramingNoEnd" name="鍥哄寲缂栧埗缁撴潫"/>
- <sequenceFlow id="sid-a3a0654d-e9fd-4814-a1bd-384dce8a3b7a" sourceRef="cureProgramTask" targetRef="cureProgramingNoEnd">
+ <sequenceFlow id="sid-a3a0654d-e9fd-4814-a1bd-384dce8a3b7a" sourceRef="cureProgramTask" targetRef="exceptionHandleTask">
<conditionExpression>${approve=='N'}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-c04cc547-0baf-4514-8056-54b1612cdefd" sourceRef="seniorApproveTask" targetRef="cureCheckTask">
@@ -30,6 +30,12 @@
<documentation>璁剧疆鏁版嵁鐨勫浐鍖栨爣蹇楋紝鐢熸垚鍥哄寲绋嬪簭鍒楄〃</documentation>
</serviceTask>
<sequenceFlow id="sid-253f5be1-3275-47d6-a3a1-5d1eaf01ec79" sourceRef="cureOKOperateTask" targetRef="end"/>
+ <scriptTask id="exceptionHandleTask" scriptFormat="groovy">
+ <script><![CDATA[
+ execution.setVariable("exception", "1");
+ ]]></script>
+ </scriptTask>
+ <sequenceFlow id="sid-f8533f07-b17b-4a37-89b2-bfa7e014cd08" sourceRef="exceptionHandleTask" targetRef="cureProgramingNoEnd"/>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_program-cure">
<bpmndi:BPMNPlane bpmnElement="program-cure" id="BPMNPlane_program-cure">
@@ -73,11 +79,11 @@
<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="-215.0" y="35.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="-140.0" y="-25.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"/>
@@ -90,6 +96,13 @@
<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="-177.5" y="-25.0" 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="-177.5" y="8.75"/>
+ <omgdi:waypoint x="-192.5" y="35.0"/>
+ </bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
--
Gitblit v1.9.3