|
@@ -178,6 +178,14 @@ public class StudentCourseHomeworkServiceImpl extends ServiceImpl<StudentCourseH
|
|
|
BeanUtils.copyProperties(e,resp);
|
|
|
CourseSchedule courseSchedule = courseScheduleService.getById(e.getCourseScheduleId());
|
|
|
if(courseSchedule != null){
|
|
|
+
|
|
|
+ ClassGroup classGroup = classGroupService.getById(courseSchedule.getClassGroupId());
|
|
|
+ if(classGroup != null){
|
|
|
+ MusicGroup musicGroup = musicGroupService.getById(classGroup.getMusicGroupId());
|
|
|
+ if(musicGroup != null){
|
|
|
+ resp.setGroupName(musicGroup.getName());
|
|
|
+ }
|
|
|
+ }
|
|
|
resp.setCourseName(courseSchedule.getName());
|
|
|
|
|
|
}
|