Commit 94d3419f by 周晓航

维护 满赠 pos商品编码

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 76bf34dc
......@@ -188,6 +188,7 @@ public class GiftSharingService {
CartGoods cartGood = new CartGoods();
cartGood.setGoodsId(goods.getGoodsId());
cartGood.setGoodsType(1);
cartGood.setLinkedId(product.getLinkedId());
cartGood.setSpuId(Objects.equals(product.getIsSkuProduct(), 1) ? product.getSpecProductId() : goods.getGoodsId());
cartGood.setSkuId(goods.getGoodsId());
cartGood.setOriginalPrice(product.getFinalPrice());
......
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