From 20ff7a22044d93a88a3bf208862f91106770ac25 Mon Sep 17 00:00:00 2001 From: andywang <1347387425@qq.com> Date: Tue, 9 Aug 2022 18:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99=E5=9D=97=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fibo/ddp/enginex/runner/node/impl/RuleSetNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddp/ddp-enginex/runner-node/src/main/java/com/fibo/ddp/enginex/runner/node/impl/RuleSetNode.java b/ddp/ddp-enginex/runner-node/src/main/java/com/fibo/ddp/enginex/runner/node/impl/RuleSetNode.java index f5fc630..db0b4cf 100644 --- a/ddp/ddp-enginex/runner-node/src/main/java/com/fibo/ddp/enginex/runner/node/impl/RuleSetNode.java +++ b/ddp/ddp-enginex/runner-node/src/main/java/com/fibo/ddp/enginex/runner/node/impl/RuleSetNode.java @@ -370,7 +370,7 @@ public class RuleSetNode implements EngineRunnerNode { // } input.put(resultFieldEn, "命中"); //处理此规则需要输出的内容 - fieldList.addAll(ruleService.setComplexRuleOutput(ruleVersion.getId(), temp, input, StrategyType.OutType.SUCCESS_OUT)); + fieldList.addAll(ruleService.setComplexRuleOutput(hitRuleBlock.getId(), temp, input, StrategyType.OutType.SUCCESS_OUT)); ruleMap.put("fieldList", fieldList); hitFlag = true; } else { @@ -378,7 +378,7 @@ public class RuleSetNode implements EngineRunnerNode { ruleMap.put("ruleScore", 0); input.put(scoreFieldEn, 0); fieldList.add(resultJson); - fieldList.addAll(ruleService.setComplexRuleOutput(ruleVersion.getId(), temp, input, StrategyType.OutType.FAIL_OUT)); + fieldList.addAll(ruleService.setComplexRuleOutput(hitRuleBlock.getId(), temp, input, StrategyType.OutType.FAIL_OUT)); ruleMap.put("fieldList", fieldList); } ruleResultList.add(ruleMap);