|
@@ -5321,6 +5321,9 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
// throw new BizException("课程合并仅支持同课程类型");
|
|
|
// }
|
|
|
for (CourseSchedule courseSchedule : allCourses) {
|
|
|
+ if(Objects.nonNull(courseSchedule.getIsLock())&&courseSchedule.getIsLock()==1){
|
|
|
+ throw new BizException("存在审核中的课程");
|
|
|
+ }
|
|
|
if(Objects.nonNull(courseSchedule.getNewCourseId())){
|
|
|
throw new BizException("存在已合并课程");
|
|
|
}
|