浏览代码

Merge branch 'zx_online_network' of http://git.dayaedu.com/yonge/cooleshow into develop-new

zouxuan 1 年之前
父节点
当前提交
0c917cfe0a

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