From b2b638b7e8a023fa57115480ca92bdaf7f5099ae Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期日, 26 五月 2024 19:13:11 +0800 Subject: [PATCH] 修复查询进出异常数据模块 --- db/elastic.go | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/db/elastic.go b/db/elastic.go index eeb7253..07df6ad 100644 --- a/db/elastic.go +++ b/db/elastic.go @@ -82,6 +82,14 @@ "lt": "now-` + strconv.Itoa(dayLt) + `d/d" } } + }, + + ], + "must_not": [ + { + "term": { + "alarmRules.ruleId": 4 + } } ] } -- Gitblit v1.8.0