Authored by 胡古飞

促销列表加上个性化

... ... @@ -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);
... ...