Authored by wangnan9279

fix

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