购物车只查询当天购物车,规格增加销量
This commit is contained in:
parent
bc167fc1c7
commit
8462f1c735
|
|
@ -110,7 +110,7 @@ public class OrderService {
|
|||
cart.setPackFee(new BigDecimal(number).multiply(product.getPackFee()));
|
||||
}
|
||||
if (isGift.equals("false")) {
|
||||
cart.setTotalAmount(new BigDecimal(number).multiply(skuWithBLOBs.getSalePrice()));
|
||||
cart.setTotalAmount(new BigDecimal(number).multiply(skuWithBLOBs.getSalePrice()).add(cart.getPackFee()));
|
||||
} else {
|
||||
cart.setTotalAmount(BigDecimal.ZERO);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue