...
|
...
|
@@ -153,8 +153,9 @@ public class ChargeService { |
|
|
double newFinalAmount = Math.max(0, YHMath.sub(oldFinalAmount, realCutPrice.doubleValue()));
|
|
|
|
|
|
//税费
|
|
|
BigDecimal goodsPrice = chargeGoods.getGoodsPrice();
|
|
|
AmountCutPolicy tariffCutPolicy = chargeContext.getChargeParam().getTariffCutPolicy();
|
|
|
SingleFeeDetail tariffFeeDetail = calculateTariffAmount(goodsRealPrice, tariffRate, tariffCutPolicy);
|
|
|
SingleFeeDetail tariffFeeDetail = calculateTariffAmount(goodsPrice, tariffRate, tariffCutPolicy);
|
|
|
chargeResult.setTariffFee(tariffFeeDetail);
|
|
|
//加上税费
|
|
|
double tariffAmount = tariffFeeDetail.getAmount();
|
...
|
...
|
|