|
@@ -177,6 +177,9 @@ public class ExtracurricularExercisesServiceImpl extends BaseServiceImpl<Long, E
|
|
|
.getStudentMusicGroupSubject(new ArrayList<>(userIdList), exercises.getMusicGroupId());
|
|
|
|
|
|
studentLessonTrainingDetailList.forEach(studentLessonTrainingDetail -> {
|
|
|
+ if (studentLessonTrainingDetail.getUserId() == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
StudentSubjectDto studentSubjectDto = subjectDtoMap.get(studentLessonTrainingDetail.getUserId().intValue());
|
|
|
if (Objects.nonNull(studentSubjectDto)) {
|
|
|
studentLessonTrainingDetail.setSubjectId(studentSubjectDto.getSubjectId().longValue());
|