Showing
1 changed file
with
2 additions
and
3 deletions
@@ -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 |
-
Please register or login to post a comment