update - 调整 Condition 模型的字段定义

This commit is contained in:
wangli 2023-12-04 18:59:21 +08:00
parent 2891610735
commit 6dcca8ff99

View File

@ -461,7 +461,7 @@ public final class BpmnJsonConverterUtil {
gateway.setDefaultFlow(sequenceFlow.getId());
}
if (Objects.nonNull(branch.getChildren())) {
if (Objects.nonNull(branch.getChildren()) && !StringUtils.hasLength(branch.getChildren().getId())) {
branchLastNodeIds.addAll(create(branch.getChildren(), mainProcess, bpmnModel));
}
}