|
|
@@ -126,7 +126,9 @@ public class StudentLessonExaminationServiceImpl extends ServiceImpl<StudentLess
|
|
|
StudentLessonExaminationDetailDto detailDto = JSON.parseObject(JSON.toJSONString(detail), StudentLessonExaminationDetailDto.class);
|
|
|
if(detail.getMusicScoreId() != null){
|
|
|
SysMusicScore musicScore = musicScoreMap.get(detail.getMusicScoreId().intValue());
|
|
|
- detailDto.setMusicScoreName(musicScore.getName());
|
|
|
+ if (musicScore != null){
|
|
|
+ detailDto.setMusicScoreName(musicScore.getName());
|
|
|
+ }
|
|
|
}
|
|
|
dto.setStudentLessonExaminationDetail(detailDto);
|
|
|
}
|