|
@@ -2311,10 +2311,6 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if(Objects.isNull(vipGroup)){
|
|
|
throw new BizException("未找到指定的vip课程");
|
|
|
}
|
|
|
- if(!vipGroup.getStatus().equals(VipGroupStatusEnum.APPLYING)
|
|
|
- &&!vipGroup.getStatus().equals(VipGroupStatusEnum.NOT_START)){
|
|
|
- throw new BizException("此课程不处于报名状态");
|
|
|
- }
|
|
|
ClassGroup classGroup = classGroupDao.findByVipGroup(vipGroupId, null);
|
|
|
|
|
|
Integer studentNum = classGroupStudentMapperDao.countClassGroupStudentNum(classGroup.getId());
|