Commit db6d7a74300da30b721b1e2cdaa7de78f2e810af
1 parent
b0302574
feat:添加TODO描述
Showing
1 changed file
with
2 additions
and
0 deletions
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/BpmnModelUtils.java
| @@ -778,6 +778,8 @@ public class BpmnModelUtils { | @@ -778,6 +778,8 @@ public class BpmnModelUtils { | ||
| 778 | if (currentElement instanceof ExclusiveGateway) { | 778 | if (currentElement instanceof ExclusiveGateway) { |
| 779 | // 查找满足条件的 SequenceFlow 路径 | 779 | // 查找满足条件的 SequenceFlow 路径 |
| 780 | Gateway gateway = (Gateway) currentElement; | 780 | Gateway gateway = (Gateway) currentElement; |
| 781 | + // TODO @小北:当一个网关节点下存在多个满足的并行节点时,只查询一个节点流程流转会存在问题,需要优化, | ||
| 782 | + // TODO 具体见issue:https://github.com/YunaiV/ruoyi-vue-pro/issues/761 | ||
| 781 | SequenceFlow matchSequenceFlow = CollUtil.findOne(gateway.getOutgoingFlows(), | 783 | SequenceFlow matchSequenceFlow = CollUtil.findOne(gateway.getOutgoingFlows(), |
| 782 | flow -> ObjUtil.notEqual(gateway.getDefaultFlow(), flow.getId()) | 784 | flow -> ObjUtil.notEqual(gateway.getDefaultFlow(), flow.getId()) |
| 783 | && (evalConditionExpress(variables, flow.getConditionExpression()))); | 785 | && (evalConditionExpress(variables, flow.getConditionExpression()))); |