Commit 0895dddc by ping.wu

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

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