|
@@ -207,6 +207,8 @@ public class StudentLessonTrainingDetailServiceImpl extends ServiceImpl<StudentL
|
|
|
SysMusicScore sysMusicScore = musicScoreMap.get(studentLessonTrainingDetail.getMusicScoreId().intValue());
|
|
|
if (sysMusicScore != null) {
|
|
|
studentLessonTrainingDetail.setMusicScoreName(sysMusicScore.getName());
|
|
|
+ }else {
|
|
|
+ studentLessonTrainingDetail.setValidFlag(false);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -237,6 +239,8 @@ public class StudentLessonTrainingDetailServiceImpl extends ServiceImpl<StudentL
|
|
|
if (materialDto != null) {
|
|
|
studentLessonTrainingDetail.setMusicScoreName(materialDto.getName());
|
|
|
studentLessonTrainingDetail.setContent(materialDto.getContent());
|
|
|
+ }else {
|
|
|
+ studentLessonTrainingDetail.setValidFlag(false);
|
|
|
}
|
|
|
}
|
|
|
}
|