Commit 5f89ab5f by 周晓航

修复历史问题 导致卖券订单无法享受促销优惠

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 55885b10
......@@ -1074,6 +1074,8 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService {
calculationDiscountRequestDto.setUserId(userId);
List<CalculationDiscountGoodsDto> discountGoodsDtoList = new ArrayList<>();
CalculationDiscountGoodsDto discountGoodsDto = new CalculationDiscountGoodsDto();
// fix - > 调用促销没有 购物车行id 导致 促销优惠没有参与
discountGoodsDto.setCartGoodsUid("no_cartGoodsUid");
discountGoodsDto.setGoodsId(products.getPid());
discountGoodsDto.setSpuId(products.getPid());
discountGoodsDto.setGoodsQuantity(1);
......
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