Commit 7533ea7e by chongfu.liang

添加发券数

parent 46fbc758
......@@ -162,5 +162,19 @@ public class Active {
name = "voucherFaceValue"
)
private Integer voucherFaceValue;
/**
* 限购份数, 仅商品兑换券可用
*/
@JSONField(
name = "accountSendOutNum"
)
private Integer accountSendOutNum;
/**
* 每份购买张数, 仅商品兑换券可用
*/
@JSONField(
name = "accountSendOutAmount"
)
private Integer accountSendOutAmount;
}
......@@ -566,7 +566,7 @@ public class SellCouponOrderServiceImpl {
orderItemCreateReq.setProductSeq(1);
orderItemCreateReq.setProductCode(activityCode);
orderItemCreateReq.setThirdProductId("");
orderItemCreateReq.setProductQuantity(1);
orderItemCreateReq.setProductQuantity(active.getAccountSendOutAmount());
OrderProductAddInfoDto orderProductAddInfoDto = new OrderProductAddInfoDto();
List<ProductBindingCouponType> productBindingCoupons = new ArrayList<>();
......
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