Authored by caoyan

UFO比价

@@ -260,7 +260,7 @@ public class ChannelSkuCompareServiceImpl implements IChannelSkuCompareService, @@ -260,7 +260,7 @@ public class ChannelSkuCompareServiceImpl implements IChannelSkuCompareService,
260 bo.setId(csc.getId()); 260 bo.setId(csc.getId());
261 bo.setProductId(csc.getProductId()); 261 bo.setProductId(csc.getProductId());
262 bo.setSku(csc.getSku()); 262 bo.setSku(csc.getSku());
263 - bo.setProductName(productMap.get(csc.getProductId()).getProductName()); 263 + bo.setProductName(null == productMap.get(csc.getProductId()) ? "" : productMap.get(csc.getProductId()).getProductName());
264 bo.setSizeName(sizeIdNameMap.get(csc.getSizeId())); 264 bo.setSizeName(sizeIdNameMap.get(csc.getSizeId()));
265 bo.setChannelPrice(getFormatPrice(csc.getChannelPrice())); 265 bo.setChannelPrice(getFormatPrice(csc.getChannelPrice()));
266 bo.setChannelUrl(csc.getChannelUrl()); 266 bo.setChannelUrl(csc.getChannelUrl());