From 39e568af96593fc7858ffdd088e4f75b74f55b53 Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期一, 29 七月 2019 14:12:20 +0800 Subject: [PATCH] uddate return size 10000 --- 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