Browse Source

虚警抑制结果更新返回时间

Gaokun Wang 2 months ago
parent
commit
9aee6c6b15

+ 1 - 1
als-modules/agile-assurance/src/main/java/org/eco/als/service/impl/FormulaService.java

@@ -71,7 +71,7 @@ public class FormulaService implements IFormulaService {
                 Boolean isMatch = (Boolean) runner.execute(expressBo.getExpression(), context, null, true, false);
                 log.info("isMatch==========================:{}", isMatch);
                 if (isMatch) {
-                    timeFlag = "";
+                    timeFlag = ((JSONObject) object).getStr("时间");
                     // 实警
                     result = 0;
                     break;