Преглед на файлове

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

zouxuan преди 11 месеца
родител
ревизия
a7064282f9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/ImNetworkRoomServiceImpl.java

+ 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()));