Commit 3a50e9c6 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/促销算价基于最新master的分支' into qa

parents c17b6646 cf2def0a
...@@ -571,7 +571,7 @@ public class CouponServiceImpl implements CouponService { ...@@ -571,7 +571,7 @@ public class CouponServiceImpl implements CouponService {
} }
} }
// 数量 // 数量
product.setQuantity(cartGood.getQty()); product.setQuantity(1);
productList.add(product); productList.add(product);
} }
} else { } else {
......
...@@ -565,8 +565,9 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -565,8 +565,9 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
for (ShoppingCartInfoRequestVo.SendGoods sds : sendGoodsList) { for (ShoppingCartInfoRequestVo.SendGoods sds : sendGoodsList) {
ShoppingCartInfoRequestVo.SendGoods sd = new ShoppingCartInfoRequestVo.SendGoods(); ShoppingCartInfoRequestVo.SendGoods sd = new ShoppingCartInfoRequestVo.SendGoods();
sd.setGoodsId(sds.getGoodsId()); sd.setGoodsId(sds.getGoodsId());
if (StringUtils.isBlank(sds.getActivityCode())) continue;
sd.setQty(sds.getQty()); sd.setQty(sds.getQty());
sd.setOriginalPrice(sds.getOriginalPrice()); sd.setOriginalPrice(0L);
sd.setActivityCode(sds.getActivityCode()); sd.setActivityCode(sds.getActivityCode());
sendGoods.add(sd); sendGoods.add(sd);
} }
......
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