|
@@ -73,7 +73,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("曲目信息不存在");
|
|
|
}
|