图库查询问题修复
This commit is contained in:
parent
75795bad0e
commit
71cef21472
@ -153,6 +153,7 @@ public class LibraryProductImpl extends BaseServiceImpl<LibraryProductMapper, Li
|
||||
List<Long> libraryProductIds= libraryProductList.stream().map(LibraryProduct::getId).collect(Collectors.toList());
|
||||
QueryWrapper<LibraryProductImage> queryWrapperImage = new QueryWrapper<>();
|
||||
queryWrapperImage.in("product_id", libraryProductIds);
|
||||
queryWrapperImage.eq("is_main",0);
|
||||
List<LibraryProductImage> libraryProductImageList= libraryProductImageService.list(queryWrapperImage);
|
||||
|
||||
Map<Long,List<LibraryProductImage>> listMap=new HashMap<>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user