Joburgess 5 年之前
父節點
當前提交
523fe17563
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

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