liujc il y a 2 mois
Parent
commit
1f171d2bca

+ 4 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/MusicSheetServiceImpl.java

@@ -619,6 +619,10 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
             }
         }
         MusicSheetDetailVo detail ;
+        if (sysUser == null) {
+
+            detail = this.getCbsDetail(Long.parseLong(id),SourceTypeEnum.PLATFORM);
+        } else
         if (StringUtil.isEmpty(tenantAlbumId)) {
 
             // 如果是机构用户,判断机构专辑

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TenantAlbumMusicServiceImpl.java

@@ -464,7 +464,7 @@ public class TenantAlbumMusicServiceImpl extends ServiceImpl<TenantAlbumMusicMap
         if (!org.springframework.util.CollectionUtils.isEmpty(cbsMusicSheetIdList)) {
             Map<Long, Long> idMap = musicSheetService.lambdaQuery()
                 .in(MusicSheet::getCbsMusicSheetId, cbsMusicSheetIdList)
-                .eq(MusicSheet::getDelFlag, false)
+                .eq(MusicSheet::getTenantDelFlag, false)
                 .eq(MusicSheet::getState, 1)
                 .list()
                 .stream()