|
|
@@ -62,7 +62,9 @@ public class StorePlatformOfficialAlbumServiceImpl extends ServiceImpl<StoreOffi
|
|
|
if(StringUtils.isNotBlank(storeId)) {
|
|
|
//查询出店铺官方相册img数量并更新
|
|
|
List<StoreOfficialAlbum> storeOfficialAlbumList = storeOfficialAlbumMapper.getStoreOfficialAlbumImgCount(Integer.parseInt(storeId));
|
|
|
- this.updateBatchById(storeOfficialAlbumList);
|
|
|
+ if(!CollectionUtils.isEmpty(storeOfficialAlbumList)){
|
|
|
+ this.updateBatchById(storeOfficialAlbumList);
|
|
|
+ }
|
|
|
|
|
|
// 查询官方相册列表
|
|
|
return storeOfficialAlbumMapper.getStoreOfficialAlbumList(Integer.parseInt(storeId));
|