Joburgess il y a 5 ans
Parent
commit
de9b185a1b

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

@@ -1566,7 +1566,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 
 		Map<String, BigDecimal> studentSurplusCourseFee = getStudentSurplusCourseFee(vipGroupId, studentId);
 		BigDecimal suplusCourseFee = studentSurplusCourseFee.get("suplusCourseFee");
-		if(suplusCourseFee.compareTo(amount)>0){
+		if(amount.compareTo(suplusCourseFee)>0){
 			throw new BizException("学员最大可退费金额为{}元", suplusCourseFee.toString());
 		}