mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-10 03:07:32 +08:00
bug #IBUZEP 2.13.0中刷新FOR(数字)的循环时无法刷新
This commit is contained in:
@@ -43,6 +43,7 @@ public class ForOperator extends BaseOperator<ForCondition> {
|
||||
nodeForComponent.setNodeId(StrUtil.format("LOOP_{}", forCount));
|
||||
nodeForComponent.setType(NodeTypeEnum.FOR);
|
||||
node.setInstance(nodeForComponent);
|
||||
node.setId(nodeForComponent.getNodeId());
|
||||
}
|
||||
else {
|
||||
throw new QLException("The parameter must be Node item");
|
||||
|
||||
@@ -137,7 +137,7 @@ public class LiteflowMetaOperator {
|
||||
*/
|
||||
public static List<Node> getNodes(String chainId, String nodeId){
|
||||
return getNodes(chainId).stream().filter(
|
||||
node -> node.getId().equals(nodeId)
|
||||
node -> nodeId.equals(node.getId())
|
||||
).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user