【缺陷修复】商城:检查是否包邮
This commit is contained in:
parent
81124292fd
commit
40b6e5a3bb
@ -213,7 +213,7 @@ public class TradeDeliveryPriceCalculator implements TradePriceCalculator {
|
||||
}
|
||||
double totalChargeValue = getTotalChargeValue(orderItems, chargeMode);
|
||||
double totalPrice = TradePriceCalculatorHelper.calculateTotalPayPrice(orderItems);
|
||||
return totalChargeValue >= templateFree.getFreeCount() && totalPrice >= templateFree.getFreePrice();
|
||||
return totalChargeValue <= templateFree.getFreeCount() && totalPrice >= templateFree.getFreePrice();
|
||||
}
|
||||
|
||||
private double getTotalChargeValue(List<OrderItem> orderItems, Integer chargeMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user