feat(REQ-4418) - 调整 JSON 转 BPMN 协议内容

This commit is contained in:
wangli 2025-08-28 11:34:08 +08:00
parent 10e3032af4
commit ffb288ca83

View File

@ -656,6 +656,7 @@ public final class BpmnJsonConverterUtil {
BpmnJsonNode tempEndNode = new BpmnJsonNode(); BpmnJsonNode tempEndNode = new BpmnJsonNode();
tempEndNode.setIncoming(Lists.newArrayList(gateway.getId())); tempEndNode.setIncoming(Lists.newArrayList(gateway.getId()));
if (Objects.isNull(defaultConditionConnectNode)) { if (Objects.isNull(defaultConditionConnectNode)) {
tempEndNode.setPreJsonNode(branch);
tempEndNode.setId(END_EVENT_ID); tempEndNode.setId(END_EVENT_ID);
} else { } else {
if (Objects.equals(defaultConditionConnectNode.getType(), NODE_EMPTY) && Objects.nonNull(defaultConditionConnectNode.getChildren())) { if (Objects.equals(defaultConditionConnectNode.getType(), NODE_EMPTY) && Objects.nonNull(defaultConditionConnectNode.getChildren())) {