|
@@ -586,6 +586,13 @@ public class MusicAlbumServiceImpl extends ServiceImpl<MusicAlbumDao,MusicAlbum>
|
|
|
|
|
|
TenantAlbumWrapper.TenantAlbum album = new TenantAlbumWrapper.TenantAlbum();
|
|
|
|
|
|
+ //获取对应机构专辑状态
|
|
|
+ TenantAlbum one = tenantAlbumService.lambdaQuery().eq(TenantAlbum::getId, tenantAlbumId).last("limit 1").one();
|
|
|
+ if (!ObjectUtil.isEmpty(one)){
|
|
|
+ album.setStatus(one.getStatus());
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//查询对应专辑的详情
|
|
|
List<TenantAlbum> list = tenantAlbumService.lambdaQuery().eq(TenantAlbum::getStatus, true).eq(TenantAlbum::getId, tenantAlbumId).list();
|
|
|
if (CollectionUtils.isEmpty(list)){
|