...
|
...
|
@@ -197,7 +197,7 @@ public class PromotionServiceImpl implements IPromotionService { |
|
|
public SearchApiResult list(PromotionConditions promotionConditions, Map<String, String> paramMap) throws Exception {
|
|
|
SearchParam searchParam = new SearchParam();
|
|
|
// 1、设置查询条件
|
|
|
searchParam.setQuery(searchServiceHelper.constructQueryBuilder(paramMap));
|
|
|
searchParam.setQuery(searchServiceHelper.constructQueryBuilderForProductList(paramMap));
|
|
|
// 2、设置过滤条件
|
|
|
BoolQueryBuilder boolQueryBuilder = searchServiceHelper.constructFilterBuilder(paramMap, null);
|
|
|
BoolQueryBuilder mustFilterByPromotion = this.getMustFilterByPromotion(promotionConditions);
|
...
|
...
|
|