|
@@ -147,9 +147,6 @@ public class GroupClassServiceImpl implements GroupClassService {
|
|
|
if(Objects.isNull(coursesGroup)){
|
|
|
throw new BizException("指定的课程组不存在");
|
|
|
}
|
|
|
- if(coursesGroup.getCoursesEndDate().before(now)){
|
|
|
- throw new BizException("当前课程组不可关闭");
|
|
|
- }
|
|
|
if(coursesGroup.getStatus().equals(GroupStatusEnum.CANCEL)){
|
|
|
throw new BizException("此课程组已关闭");
|
|
|
}
|