Commit cf2def0a by xiaoer.li@freemud.com

对接促销算价Alpha->fix

parent 51e3855c
......@@ -600,7 +600,7 @@ public class CouponServiceImpl implements CouponService {
}
}
// 数量
product.setQuantity(cartGood.getQty());
product.setQuantity(1);
productList.add(product);
}
} else {
......
......@@ -553,8 +553,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