fix: routeGroups命名问题
This commit is contained in:
parent
a008b313ec
commit
d33afd7a9a
|
@ -280,9 +280,8 @@ public class BpmSimpleModelNodeVO {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO @lesan:routeGroups
|
|
||||||
@Schema(description = "路由分支组", example = "[]")
|
@Schema(description = "路由分支组", example = "[]")
|
||||||
private List<RouteCondition> routeGroup;
|
private List<RouteCondition> routeGroups;
|
||||||
|
|
||||||
@Schema(description = "默认分支id", example = "Flow_xxx")
|
@Schema(description = "默认分支id", example = "Flow_xxx")
|
||||||
private String defaultFlowId; // 仅用于路由分支节点 BpmSimpleModelNodeType.ROUTE_BRANCH_NODE
|
private String defaultFlowId; // 仅用于路由分支节点 BpmSimpleModelNodeType.ROUTE_BRANCH_NODE
|
||||||
|
|
|
@ -200,7 +200,7 @@ public class SimpleModelUtils {
|
||||||
// 3. 遍历分支节点
|
// 3. 遍历分支节点
|
||||||
if (nodeType == BpmSimpleModelNodeType.ROUTE_BRANCH_NODE) {
|
if (nodeType == BpmSimpleModelNodeType.ROUTE_BRANCH_NODE) {
|
||||||
// 路由分支遍历
|
// 路由分支遍历
|
||||||
for (BpmSimpleModelNodeVO.RouteCondition route : node.getRouteGroup()) {
|
for (BpmSimpleModelNodeVO.RouteCondition route : node.getRouteGroups()) {
|
||||||
SequenceFlow sequenceFlow = RouteBranchNodeConvert.buildSequenceFlow(node.getId(), route);
|
SequenceFlow sequenceFlow = RouteBranchNodeConvert.buildSequenceFlow(node.getId(), route);
|
||||||
process.addFlowElement(sequenceFlow);
|
process.addFlowElement(sequenceFlow);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue