|
@@ -645,7 +645,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
//计算平台手续费
|
|
|
BigDecimal plateformServiceFee = BigDecimal.ZERO;
|
|
|
if(plateformServiceFeeRate.compareTo(BigDecimal.ZERO) > 0) {
|
|
|
- plateformServiceFee = routeAmount.multiply(plateformServiceFeeRate).setScale(2, RoundingMode.HALF_UP);
|
|
|
+ plateformServiceFee = routeAmount.multiply(plateformServiceFeeRate).divide(new BigDecimal(1000)).setScale(2, RoundingMode.HALF_UP);
|
|
|
}
|
|
|
|
|
|
routeAmount = routeAmount.subtract(plateformServiceFee);
|