...
|
...
|
@@ -303,7 +303,7 @@ public class ProductServiceImpl implements ProductService{ |
|
|
List<GoodsImages> goodsImages = goodsImagesMapper.selectByGoodsId(goodId);
|
|
|
List<GoodsImageBO> imageList = new ArrayList<>();
|
|
|
if (!CollectionUtils.isEmpty(goodsImages)) {
|
|
|
List<String> imageUrlList = goodsImages.stream().map(GoodsImages::getImageUrl).filter(StringUtils::isBlank).map(this::buildImageFullUrl).collect(Collectors.toList());
|
|
|
List<String> imageUrlList = goodsImages.stream().map(GoodsImages::getImageUrl).filter(StringUtils::isNotBlank).map(this::buildImageFullUrl).collect(Collectors.toList());
|
|
|
imageUrlList.forEach(e -> imageList.add(GoodsImageBO.create(e)));
|
|
|
}
|
|
|
goodsBO.setImageList(imageList);
|
...
|
...
|
|