...
|
...
|
@@ -89,9 +89,9 @@ public class ChannelSkuCompareServiceImpl implements IChannelSkuCompareService, |
|
|
//查询商品名称
|
|
|
List<Integer> productIdList = cscList.stream().map(ChannelSkuCompare::getProductId).collect(Collectors.toList());
|
|
|
List<Product> productList = productMapper.selectProductListByIds(productIdList);
|
|
|
if(CollectionUtils.isEmpty(productList)) {
|
|
|
return null;
|
|
|
}
|
|
|
// if(CollectionUtils.isEmpty(productList)) {
|
|
|
// return null;
|
|
|
// }
|
|
|
Map<Integer, Product> productMap = productList.stream().collect(Collectors.toMap(Product::getId, p->p));
|
|
|
|
|
|
//查询尺码名称
|
...
|
...
|
|