Commit 7de04d0c authored by tianbo's avatar tianbo

Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…

Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents 3fce06af 6615188c
...@@ -451,7 +451,7 @@ public class ScreenImpl implements IScreenService { ...@@ -451,7 +451,7 @@ public class ScreenImpl implements IScreenService {
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
//设置模糊搜索 //设置模糊搜索
searchSourceBuilder.query(QueryBuilders.boolQuery() searchSourceBuilder.query(QueryBuilders.boolQuery()
.must(QueryBuilders.matchQuery("USE_PLACE_CODE", "##610324")) .must(QueryBuilders.wildcardQuery("USE_PLACE_CODE", "*"+screenDto.getCityCode()+"*"))
.must(QueryBuilders.termsQuery("IS_INTO_MANAGEMENT", true))); .must(QueryBuilders.termsQuery("IS_INTO_MANAGEMENT", true)));
searchSourceBuilder.aggregation( searchSourceBuilder.aggregation(
AggregationBuilders.terms("USE_SITE_CODE").field("USE_SITE_CODE") AggregationBuilders.terms("USE_SITE_CODE").field("USE_SITE_CODE")
......
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