Showing
1 changed file
with
3 additions
and
3 deletions
@@ -89,9 +89,9 @@ public class ChannelSkuCompareServiceImpl implements IChannelSkuCompareService, | @@ -89,9 +89,9 @@ public class ChannelSkuCompareServiceImpl implements IChannelSkuCompareService, | ||
89 | //查询商品名称 | 89 | //查询商品名称 |
90 | List<Integer> productIdList = cscList.stream().map(ChannelSkuCompare::getProductId).collect(Collectors.toList()); | 90 | List<Integer> productIdList = cscList.stream().map(ChannelSkuCompare::getProductId).collect(Collectors.toList()); |
91 | List<Product> productList = productMapper.selectProductListByIds(productIdList); | 91 | List<Product> productList = productMapper.selectProductListByIds(productIdList); |
92 | - if(CollectionUtils.isEmpty(productList)) { | ||
93 | - return null; | ||
94 | - } | 92 | +// if(CollectionUtils.isEmpty(productList)) { |
93 | +// return null; | ||
94 | +// } | ||
95 | Map<Integer, Product> productMap = productList.stream().collect(Collectors.toMap(Product::getId, p->p)); | 95 | Map<Integer, Product> productMap = productList.stream().collect(Collectors.toMap(Product::getId, p->p)); |
96 | 96 | ||
97 | //查询尺码名称 | 97 | //查询尺码名称 |
-
Please register or login to post a comment