...
|
...
|
@@ -81,9 +81,8 @@ public class UfoProductIndexBaseService { |
|
|
Map<String, Object> productMap = new HashMap<String, Object>();
|
|
|
productMap.put("id", MapUtils.getIntValue(map, UfoProductIndexEsField.id, 0));
|
|
|
productMap.put("product_name", MapUtils.getString(map, UfoProductIndexEsField.productName, ""));
|
|
|
productMap.put("shelve_status", MapUtils.getString(map, UfoProductIndexEsField.defaultImages, ""));
|
|
|
Double price = MapUtils.getDouble(map, UfoProductIndexEsField.price);
|
|
|
productMap.put("del_status", price == null || price == -1d ? null : price);
|
|
|
productMap.put("shelve_status", MapUtils.getIntValue(map, UfoProductIndexEsField.shelveStatus, 0));
|
|
|
productMap.put("del_status", MapUtils.getIntValue(map, UfoProductIndexEsField.delStatus, 0));
|
|
|
return productMap;
|
|
|
}
|
|
|
|
...
|
...
|
|