...
|
...
|
@@ -103,8 +103,6 @@ public class ProductIndexBaseService { |
|
|
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.customizeTags);
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.matchedPromotions);
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.basePinRatio);
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.breakingRate);
|
|
|
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.deposit);
|
|
|
productIndexIncludeFields.add(ProductIndexEsField.depositMultiples);
|
...
|
...
|
@@ -185,10 +183,6 @@ public class ProductIndexBaseService { |
|
|
productMap.put("is_discount", MapUtils.getString(map, ProductIndexEsField.isDiscount, "N"));
|
|
|
productMap.put("is_soon_sold_out", MapUtils.getString(map, ProductIndexEsField.isSoonSoldOut, "N"));
|
|
|
productMap.put("is_promotion", MapUtils.getIntValue(map, ProductIndexEsField.ispromotion, 0));
|
|
|
productMap.put("is_breaking", "N");
|
|
|
if (MapUtils.getDoubleValue(map, ProductIndexEsField.basePinRatio, 0) >= 3.5 && MapUtils.getDoubleValue(map, ProductIndexEsField.breakSizePercent, 0) >= 50) {
|
|
|
productMap.put("is_breaking", "Y");
|
|
|
}
|
|
|
productMap.put("bundle_type", MapUtils.getIntValue(map, ProductIndexEsField.bundleType, 0));
|
|
|
|
|
|
// yohoodId
|
...
|
...
|
|