|
@@ -5607,8 +5607,9 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
* @param teachingPoint
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
public Boolean teachingPointCourse(TeachingPointWrapper.TeachingPoint teachingPoint) {
|
|
|
- CourseSchedule courseSchedule = get(Long.valueOf(teachingPoint.getCourseScheduleId()));
|
|
|
+ CourseSchedule courseSchedule = courseScheduleDao.get(Long.valueOf(teachingPoint.getCourseScheduleId()));
|
|
|
if (courseSchedule == null) {
|
|
|
throw new BizException("课程不存在");
|
|
|
}
|