Authored by Zhao

fix 常量

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