Przeglądaj źródła

曲目详情新增字段

zouxuan 3 miesięcy temu
rodzic
commit
145f16fe3c

+ 1 - 1
cooleshow-app/src/main/java/com/yonge/cooleshow/student/controller/MusicPracticeRecordController.java

@@ -74,7 +74,7 @@ public class MusicPracticeRecordController {
         }
         MusicPracticeRecordWrapper.MusicPracticeRecord from = MusicPracticeRecordWrapper.MusicPracticeRecord.from(JSON.toJSONString(wrapper));
         // 曲目信息
-        MusicSheet musicSheet = musicSheetService.getDao().get(id);
+        MusicSheet musicSheet = musicSheetService.getDao().get(Long.parseLong(wrapper.getMusicSheetId()));
         if (Objects.isNull(musicSheet)) {
             throw new com.yonge.toolset.base.exception.BizException("曲目信息不存在");
         }