diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java b/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java index 2f0b5ec6..f0ef5b6a 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java @@ -195,6 +195,7 @@ public class LibraryProductImpl extends BaseServiceImpl updateTableIds=new ArrayList<>(); List updateProductImageList=new ArrayList<>(); + List addProductImageList=new ArrayList<>(); products.forEach(product->{ if (null==product.getId()){ throw new ApiException("id is null"); @@ -207,10 +208,19 @@ public class LibraryProductImpl extends BaseServiceImpl - - - + + +