|
@@ -63,6 +63,8 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
@Resource
|
|
|
private MusicSheetAccompanimentService musicSheetAccompanimentService;
|
|
|
@Resource
|
|
|
+ private MusicSheetService musicSheetService;
|
|
|
+ @Resource
|
|
|
private StudentAttendanceService studentAttendanceService;
|
|
|
@Resource
|
|
|
private TeacherAttendanceService teacherAttendanceService;
|
|
@@ -350,7 +352,8 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
List<CourseScheduleStudentMusicSheetResult> scheduleStudentMusicSheetResults = courseScheduleStudentMusicSheetService.getDao().
|
|
|
queryBySheetIdAndCourseId(accompanimentId, Long.parseLong(roomId), null, null, 0);
|
|
|
|
|
|
- MusicSheetAccompaniment accompaniment = musicSheetAccompanimentService.getById(accompanimentId);
|
|
|
+ MusicSheetAccompaniment accompaniment = musicSheetAccompanimentService.lambdaQuery().eq(MusicSheetAccompaniment::getMusicSheetId,accompanimentId)
|
|
|
+ .last("LIMIT 1").one();
|
|
|
if (scheduleStudentMusicSheetResults.isEmpty()) {
|
|
|
//第一次下载,生成数据
|
|
|
List<CourseScheduleStudentPayment> studentPayments =
|