|
@@ -87,7 +87,7 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
|
|
if (id != null){
|
|
if (id != null){
|
|
List<Long> tenantAlbumIds = baseMapper.selectTenantIds(id);
|
|
List<Long> tenantAlbumIds = baseMapper.selectTenantIds(id);
|
|
if (CollectionUtils.isEmpty(tenantAlbumIds)){
|
|
if (CollectionUtils.isEmpty(tenantAlbumIds)){
|
|
- throw new BizException("当前登录用户未找到对应机构专辑");
|
|
|
|
|
|
+ return null;
|
|
}
|
|
}
|
|
List<TenantAlbum> tenantAlbums = baseMapper.selectTenantAlbumInfo(tenantAlbumIds);
|
|
List<TenantAlbum> tenantAlbums = baseMapper.selectTenantAlbumInfo(tenantAlbumIds);
|
|
|
|
|