|
@@ -741,7 +741,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if(Objects.isNull(classGroup)){
|
|
|
throw new BizException("课程信息错误");
|
|
|
}
|
|
|
- if(classGroup.getStudentNum()<=classGroup.getExpectStudentNum()){
|
|
|
+ if(classGroup.getStudentNum()>=classGroup.getExpectStudentNum()){
|
|
|
throw new BizException("该课程人数已达上限");
|
|
|
}
|
|
|
|