|
|
@@ -230,12 +230,12 @@ public class GradeServiceImpl implements GradeService{
|
|
|
if (check > 0) {
|
|
|
throw new BizException(BizExceptionCode.EXISTS_TEACHER);
|
|
|
}
|
|
|
- //课表检测
|
|
|
+ //检测课表发布
|
|
|
check = sysStudentMapper.repeatCurriculum(id);
|
|
|
if (check > 0) {
|
|
|
throw new BizException(BizExceptionCode.EXISTS_CURRICULUM);
|
|
|
}
|
|
|
- //检测科目
|
|
|
+ //检测作业发布
|
|
|
check = homeWorkMapper.homeWorkRelease(id);
|
|
|
if(check > 0){
|
|
|
throw new BizException(BizExceptionCode.HOMEWORK_RELEASE);
|