소스 검색

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

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