|
@@ -135,6 +135,9 @@ public class CourseReviewServiceImpl extends BaseServiceImpl<Integer, CourseSche
|
|
|
}
|
|
|
Date date = new Date();
|
|
|
CourseSchedule courseSchedule = courseScheduleDao.get(courseScheduleId.longValue());
|
|
|
+ if (courseSchedule == null) {
|
|
|
+ throw new BizException("课程不存在");
|
|
|
+ }
|
|
|
PracticeGroup practiceGroup = practiceGroupDao.get(Long.parseLong(courseSchedule.getMusicGroupId()));
|
|
|
|
|
|
courseScheduleReview.setClassGroupId(courseSchedule.getClassGroupId());
|