Authored by wangnan9279

是否是视频商品标志位

... ... @@ -108,6 +108,7 @@ public class ProductIndexBaseService {
productIndexIncludeFields.add(ProductIndexEsField.supplierId);
productIndexIncludeFields.add(ProductIndexEsField.sellType);
productIndexIncludeFields.add(ProductIndexEsField.isUfo);
productIndexIncludeFields.add(ProductIndexEsField.isVideo);
}
... ... @@ -156,7 +157,7 @@ public class ProductIndexBaseService {
productMap.put("first_shelve_time", MapUtils.getIntValue(map, ProductIndexEsField.firstShelveTime));
productMap.put("max_sort_id", MapUtils.getIntValue(map, ProductIndexEsField.maxSortId));
productMap.put("max_sort_name", MapUtils.getString(map, ProductIndexEsField.maxSort,""));
productMap.put("max_sort_name", MapUtils.getString(map, ProductIndexEsField.maxSort, ""));
productMap.put("middle_sort_id", MapUtils.getIntValue(map, ProductIndexEsField.middleSortId));
productMap.put("middle_sort_name", MapUtils.getString(map, ProductIndexEsField.middleSort, ""));
productMap.put("small_sort_id", MapUtils.getIntValue(map, ProductIndexEsField.smallSortId));
... ... @@ -225,6 +226,9 @@ public class ProductIndexBaseService {
productMap.put("supplier_id", MapUtils.getIntValue(map, ProductIndexEsField.supplierId, 0));
productMap.put("sell_type", MapUtils.getIntValue(map, ProductIndexEsField.sellType, 0));
//是否视频商品
productMap.put("is_video", MapUtils.getString(map, ProductIndexEsField.isVideo, "N"));
//ufo
productMap.put("is_ufo", MapUtils.getString(map, ProductIndexEsField.isUfo, "N"));
if (MapUtils.getString(productMap, "is_ufo", "N").equalsIgnoreCase("Y")) {
... ...