Showing
1 changed file
with
5 additions
and
4 deletions
@@ -110,9 +110,9 @@ public class ShoppingSupport { | @@ -110,9 +110,9 @@ public class ShoppingSupport { | ||
110 | if (Objects.nonNull(shipFeeDetail = chargeResult.getShipFeeDetail())){ | 110 | if (Objects.nonNull(shipFeeDetail = chargeResult.getShipFeeDetail())){ |
111 | if (shipFeeDetail.getCutAmount()>0D){ | 111 | if (shipFeeDetail.getCutAmount()>0D){ |
112 | expressFormula.setPromotionAside(OrderConstant.DELIVERY_DESC_ASIDE); | 112 | expressFormula.setPromotionAside(OrderConstant.DELIVERY_DESC_ASIDE); |
113 | + String normalShipFee = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(shipFeeDetail.getAmount()); | ||
114 | + expressFormula.setNormalAmount(normalShipFee); | ||
113 | } | 115 | } |
114 | - String normalShipFee = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(shipFeeDetail.getAmount()); | ||
115 | - expressFormula.setNormalAmount(normalShipFee); | ||
116 | // | 116 | // |
117 | shipFee = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(shipFeeDetail.getFinalAmount()); | 117 | shipFee = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(shipFeeDetail.getFinalAmount()); |
118 | }else{ | 118 | }else{ |
@@ -128,9 +128,10 @@ public class ShoppingSupport { | @@ -128,9 +128,10 @@ public class ShoppingSupport { | ||
128 | tariffFormula.setPromotion(OrderConstant.TAX_DESC); | 128 | tariffFormula.setPromotion(OrderConstant.TAX_DESC); |
129 | if (tariffFee.getCutAmount()>0D){ | 129 | if (tariffFee.getCutAmount()>0D){ |
130 | tariffFormula.setPromotionAside(OrderConstant.TAX_DESC_ASIDE); | 130 | tariffFormula.setPromotionAside(OrderConstant.TAX_DESC_ASIDE); |
131 | + String tariffAmountDesc = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(tariffAmount); | ||
132 | + tariffFormula.setNormalAmount(tariffAmountDesc); | ||
131 | } | 133 | } |
132 | - String tariffAmountDesc = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(tariffAmount); | ||
133 | - tariffFormula.setNormalAmount(tariffAmountDesc); | 134 | + |
134 | // | 135 | // |
135 | String finalTariffAmountDesc = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(tariffFee.getFinalAmount()); | 136 | String finalTariffAmountDesc = OrderConstant.PLUS_SIGN + MathUtils.formatCurrencyStr(tariffFee.getFinalAmount()); |
136 | tariffFormula.setPromotionAmount(finalTariffAmountDesc); | 137 | tariffFormula.setPromotionAmount(finalTariffAmountDesc); |
-
Please register or login to post a comment