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