liuxiaolong
2019-07-27 59e648d84df45c97c4591dd8c651fca0f20f86c1
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\"}}}"