Commit b922552e by shuhu.hou@freemud.cn

获取可用优惠券,总金额错误fixbug

parent 36dc5151
...@@ -532,7 +532,7 @@ public class CouponServiceImpl implements CouponService { ...@@ -532,7 +532,7 @@ public class CouponServiceImpl implements CouponService {
// 数量 // 数量
product.setQuantity(cartGood.getQty()); product.setQuantity(cartGood.getQty());
productList.add(product); productList.add(product);
totalAmount = totalAmount + cartGood.getOriginalPrice() * cartGood.getQty(); totalAmount = totalAmount +product.getAmount() * cartGood.getQty();
} }
return totalAmount; return totalAmount;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment