|
@@ -455,7 +455,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
long scheduleId = Long.parseLong(roomId);
|
|
|
switch (deviceControl.getDeviceType()) {
|
|
|
case MUSIC_SHEET:
|
|
|
- Integer musicSheetId = Optional.ofNullable(deviceControl.getAccompanimentId()).
|
|
|
+ Integer musicSheetId = Optional.ofNullable(deviceControl.getMusicScoreAccompanimentId()).
|
|
|
orElseThrow(()-> new BizException("请选择曲目"));
|
|
|
//关闭所有曲目播放
|
|
|
courseScheduleStudentMusicSheetService.getDao().closePlayStatus(scheduleId,userId);
|
|
@@ -463,7 +463,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
courseScheduleStudentMusicSheetService.getDao().openPlayStatus(scheduleId,musicSheetId,userId);
|
|
|
break;
|
|
|
case ACCOMPANIMENT:
|
|
|
- Integer musicSheetAccompanimentId = Optional.ofNullable(deviceControl.getAccompanimentId()).
|
|
|
+ Integer musicSheetAccompanimentId = Optional.ofNullable(deviceControl.getMusicScoreAccompanimentId()).
|
|
|
orElseThrow(()-> new BizException("请选择曲目"));
|
|
|
//关闭所有曲目播放
|
|
|
courseScheduleStudentMusicSheetService.getDao().closePlayStatus(scheduleId,userId);
|