Просмотр исходного кода

酷乐秀曲目来源改为内容平台

zouxuan 11 месяцев назад
Родитель
Сommit
a7064282f9

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

@@ -193,7 +193,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
                 .distinct().collect(Collectors.toList());
         List<CbsMusicSheetWrapper.MusicSheetAccApplication> sheetApplications = this.getSheetApplications(musicSheetSoundIds);
         Map<Long, CbsMusicSheetWrapper.MusicSheetAccApplication> sheetApplicationMap = sheetApplications.stream()
-                .collect(Collectors.toMap(CbsMusicSheetWrapper.MusicSheetAccApplication::getId, Function.identity()));
+                .collect(Collectors.toMap(CbsMusicSheetWrapper.MusicSheetAccApplication::getMusicSheetSoundId, Function.identity()));
         for (CourseScheduleStudentMusicSheetResult studentMusicScore : scheduleStudentMusicScores) {
             CbsMusicSheetWrapper.MusicSheetAccApplication sheetApplication =
                     sheetApplicationMap.get(Long.parseLong(studentMusicScore.getMusicScoreAccompanimentId()));