提交 2772e5cf authored 作者: Whispa's avatar Whispa

commit

上级 aaaa792d
......@@ -227,6 +227,12 @@ public class TbCfOrder {
itemOrderList.forEach(item -> {
BigDecimal itemPrice = item.getItemPriceTotal();
TbCfExpressTemplate template = item.getTemplate();
if( template != null){
System.out.println("Fee");
System.out.println(template.getHandlingFee());
System.out.println("Tax tariff");
System.out.println(template.getTariff());
}
template = template == null ? defaultTemplate : template;
itemsPrice = itemsPrice.add(itemPrice);
tax = tax.add(calculateDutyFee(itemPrice, template));
......@@ -274,6 +280,9 @@ public class TbCfOrder {
}
}
System.out.println(tax);
System.out.println(fee);
totalPrice = itemsPrice.add(fee).add(tax).add(expressCost);
countRealityPay();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论