...
|
...
|
@@ -58,7 +58,7 @@ public class PromotionIndexBaseService { |
|
|
BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
|
|
|
boolQueryBuilder.must(QueryBuilders.termsQuery(ProductIndexEsField.id, ids));
|
|
|
boolQueryBuilder.must(QueryBuilders.termQuery(ProductIndexEsField.status, 1));
|
|
|
boolQueryBuilder.mustNot(QueryBuilders.termQuery("isDel", "Y"));
|
|
|
boolQueryBuilder.mustNot(QueryBuilders.termQuery(ProductIndexEsField.MATCHED_PROMOTIONS_ISDEL, "Y"));
|
|
|
|
|
|
searchParam.setFiter(boolQueryBuilder);
|
|
|
searchParam.setSize(ids.size());
|
...
|
...
|
|