Joburgess 5 роки тому
батько
коміт
523fe17563

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -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("该课程人数已达上限");
 		}