From fa1fa7d4f29b635d0763c1be8c2dcc412351d30d Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 29 七月 2019 11:44:33 +0800 Subject: [PATCH] rm log --- controllers/dbtablesCon.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/controllers/dbtablesCon.go b/controllers/dbtablesCon.go index ec2735b..f47c7d8 100644 --- a/controllers/dbtablesCon.go +++ b/controllers/dbtablesCon.go @@ -38,6 +38,9 @@ } else if isSync == "2" { analyServerFilterStr = "{\"term\":{\"analyServerId\":\"" + sysconf.ServerId + "\"}}" // 鏈湴搴� } + if analyServerFilterStr !="" { + analyServerFilterStr = ","+ analyServerFilterStr + } params := "{\"query\":{\"bool\":{\"must\":[" + "{\"term\":{\"isDelete\":\"0\"}}" + analyServerFilterStr + "]}}," + "\"from\":0,\"size\":1000,\"sort\":{\"id\":{\"order\":\"asc\"}}}" -- Gitblit v1.8.0