zouxuan il y a 4 ans
Parent
commit
99186e5940

+ 1 - 1
mec-im/src/main/java/com/ym/service/Impl/RoomServiceImpl.java

@@ -774,7 +774,7 @@ public class RoomServiceImpl implements RoomService {
             } else if (typeEnum.equals(DeviceTypeEnum.ExamSong)){
                 long scheduleId = Long.parseLong(roomId.substring(1));
                 ExamSongDownloadData msg;
-                String examJson = courseScheduleStudentPaymentDao.getExamJsonByCourseIdAndUserId(scheduleId, authUser.getId());
+                String examJson = courseScheduleStudentPaymentDao.getExamJsonByCourseIdAndUserId(scheduleId, Integer.parseInt(userId));
                 if(StringUtils.isEmpty(examJson)){
                     throw new BizException("学员伴奏信息异常");
                 }else {