https://meilishiyan-song.taobao.com/

精准查询

QueryBuilder queryBuilder = QueryBuilders.boolQuery()
.must(QueryBuilders.termQuery("PO Number" + ".keyword", param.get("PO Number")))
.must(QueryBuilders.termQuery("Season" + ".keyword", param.get("Season")))
.must(QueryBuilders.termQuery("year" + ".keyword", param.get("year")));
list = entityDao.groupByBuilder((String) param.get("year") + ConstantsData.ORDER_INDEX_NAME,
(String) param.get("season") + ConstantsData.DETAIL_TYPE_NAME, alias, groupTitle, queryBuilder);

posted @ 2017-05-10 10:50  望梦圆  阅读(222)  评论(0编辑  收藏  举报
https://meilishiyan-song.taobao.com/