|
@@ -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());
|
|
|
}
|
|
|
|