Commit f7fe7f5d by ping.wu

Merge branches 'feature/20210717_买虚拟商品特价_wuping' and 'master' of…

Merge branches 'feature/20210717_买虚拟商品特价_wuping' and 'master' of http://gitlab.freemud.com/order-group-application/order-group
parents 7e9f0b40 8f402ca8
...@@ -15,6 +15,9 @@ public class CalculationDiscountGoodsDto { ...@@ -15,6 +15,9 @@ public class CalculationDiscountGoodsDto {
@NotNull(message = "不可为空") @NotNull(message = "不可为空")
private String goodsId; private String goodsId;
private String spuId;
/** /**
* 商品数量 * 商品数量
*/ */
......
...@@ -870,6 +870,7 @@ public class SellCouponOrderServiceImpl { ...@@ -870,6 +870,7 @@ public class SellCouponOrderServiceImpl {
List<CalculationDiscountGoodsDto> discountGoodsDtoList = new ArrayList<>(); List<CalculationDiscountGoodsDto> discountGoodsDtoList = new ArrayList<>();
CalculationDiscountGoodsDto discountGoodsDto = new CalculationDiscountGoodsDto(); CalculationDiscountGoodsDto discountGoodsDto = new CalculationDiscountGoodsDto();
discountGoodsDto.setGoodsId(products.getPid()); discountGoodsDto.setGoodsId(products.getPid());
discountGoodsDto.setSpuId(products.getPid());
discountGoodsDto.setGoodsQuantity(1); discountGoodsDto.setGoodsQuantity(1);
discountGoodsDto.setOriginalPrice(products.getFinalPrice().intValue()); discountGoodsDto.setOriginalPrice(products.getFinalPrice().intValue());
discountGoodsDtoList.add(discountGoodsDto); discountGoodsDtoList.add(discountGoodsDto);
......
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