liuxiaolong
2019-07-29 fa1fa7d4f29b635d0763c1be8c2dcc412351d30d
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\"}}}"