...
|
...
|
@@ -267,18 +267,19 @@ public class ShoppingServiceImpl implements IShoppingService { |
|
|
SkupType skupType = SkupType.getSkupType(skupAttr);
|
|
|
FeeNRate feeNRate = getFeeNRate(skupType);
|
|
|
BigDecimal tariffRate = null;
|
|
|
BigDecimal shipFee = null;
|
|
|
if (feeNRate != null){
|
|
|
tariffRate = feeNRate.getTariffRate();
|
|
|
shipFee = feeNRate.getShipFee();
|
|
|
}
|
|
|
|
|
|
Map<String,AmountCutPolicy> acpMap = buildTariffCutPolicy(skupAttr);
|
|
|
|
|
|
|
|
|
|
|
|
ChargeParam chargeParam = ChargeParam.builder().uid(request.getUid())
|
|
|
.chargeStage(chargeStage)
|
|
|
.apiVersion(request.getApiVersion())
|
|
|
.deliveryWay(buildDeliveryWay(skupType))
|
|
|
.shipFee(shipFee)
|
|
|
.couponCodes(request.getCouponCodes())
|
|
|
.tariffCutPolicy(acpMap.get(BuyOrderFeeName.TARIFF_AMOUNT))
|
|
|
.shipFeeCutPolicy(acpMap.get(BuyOrderFeeName.SHIP_FEE))
|
...
|
...
|
|