Commit 99ed8914 authored by 赵威's avatar 赵威

update test

parent 9f0ecc2b
......@@ -57,12 +57,11 @@ object Main {
val secondDemands = user.secondDemands.toList
println(user.deviceId)
println(projects.mkString(" "))
// if ((projects.size > 0) || (secondDemands.size > 0)) {
// val diaryQuery = ES.generateDiaryQuery(projects, secondDemands, -1)
// val tractateQuery = ES.generateTractateQuery(projects, secondDemands)
// ES.test(diaryQuery, tractateQuery)
// }
ES.test("", "")
if ((projects.size > 0) || (secondDemands.size > 0)) {
val diaryQuery = ES.generateDiaryQuery(projects, secondDemands, -1)
val tractateQuery = ES.generateTractateQuery(projects, secondDemands)
ES.test(diaryQuery, tractateQuery)
}
println("########################")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment