修复多个执行动作未生效

This commit is contained in:
zhou-hao 2020-08-10 09:49:07 +08:00
parent 5995ea17a5
commit 962f1e8dff
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ public class SqlRuleModelParser implements RuleModelParserStrategy {
if (!StringUtils.hasText(act.getExecutor())) {
continue;
}
index++;
RuleNodeModel action = new RuleNodeModel();
action.setId("error:action:" + index);
action.setName("错误处理:" + index);
@ -93,6 +94,7 @@ public class SqlRuleModelParser implements RuleModelParserStrategy {
if (!StringUtils.hasText(operation.getExecutor())) {
continue;
}
index++;
RuleNodeModel action = new RuleNodeModel();
action.setId("action:" + index);
action.setName("执行动作:" + index);