fix: routeGroups命名问题

This commit is contained in:
Lesan 2025-01-08 08:52:24 +08:00
parent a008b313ec
commit d33afd7a9a
2 changed files with 2 additions and 3 deletions

View File

@ -280,9 +280,8 @@ public class BpmSimpleModelNodeVO {
}
// TODO @lesanrouteGroups
@Schema(description = "路由分支组", example = "[]")
private List<RouteCondition> routeGroup;
private List<RouteCondition> routeGroups;
@Schema(description = "默认分支id", example = "Flow_xxx")
private String defaultFlowId; // 仅用于路由分支节点 BpmSimpleModelNodeType.ROUTE_BRANCH_NODE

View File

@ -200,7 +200,7 @@ public class SimpleModelUtils {
// 3. 遍历分支节点
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);
process.addFlowElement(sequenceFlow);
}