Authored by wangnan9279

ufo

... ... @@ -53,7 +53,7 @@ public class UfoProductIndexBaseService {
productMap.put("product_name", MapUtils.getString(map, UfoProductIndexEsField.productName, ""));
productMap.put("default_images", MapUtils.getString(map, UfoProductIndexEsField.defaultImages, ""));
Double price = MapUtils.getDouble(map, UfoProductIndexEsField.price);
productMap.put("price", price == -1d ? null : price);
productMap.put("price", price == null || price == -1d ? null : price);
return productMap;
}
... ...