mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
bug #I4IOLB when在解析时某些情况下不会合并
This commit is contained in:
@@ -82,7 +82,7 @@ public class LiteFlowChainBuilder {
|
||||
this.conditionList.add(condition);
|
||||
}
|
||||
} else if (condition.getConditionType().equals(ConditionTypeEnum.TYPE_WHEN)) {
|
||||
if (this.conditionList.size() > 1 &&
|
||||
if (this.conditionList.size() >= 1 &&
|
||||
CollectionUtil.getLast(this.conditionList) instanceof WhenCondition &&
|
||||
CollectionUtil.getLast(this.conditionList).getGroup().equals(condition.getGroup())) {
|
||||
CollectionUtil.getLast(this.conditionList).getNodeList().addAll(condition.getNodeList());
|
||||
|
||||
Reference in New Issue
Block a user