@@ -432,6 +432,9 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
}
amount = amount.subtract(repairInfo.getExemptionAmount());
+ if (amount.compareTo(BigDecimal.ZERO) < 0) {
+ throw new BizException("特权减免金额不能大于总金额");
+ }
repairInfo.setPayStatus(1);
String channelType = "";