Commit 6822d6b5 by chongfu.liang

Merge branch 'feature/2.0.6-农工商商品兑换券' into qa

parents b2c9be86 310df7b4
...@@ -162,5 +162,19 @@ public class Active { ...@@ -162,5 +162,19 @@ public class Active {
name = "voucherFaceValue" name = "voucherFaceValue"
) )
private Integer voucherFaceValue; private Integer voucherFaceValue;
/**
* 限购份数, 仅商品兑换券可用
*/
@JSONField(
name = "accountSendOutNum"
)
private Integer accountSendOutNum;
/**
* 每份购买张数, 仅商品兑换券可用
*/
@JSONField(
name = "accountSendOutAmount"
)
private Integer accountSendOutAmount;
} }
...@@ -572,7 +572,7 @@ public class SellCouponOrderServiceImpl { ...@@ -572,7 +572,7 @@ public class SellCouponOrderServiceImpl {
List<ProductBindingCouponType> productBindingCoupons = new ArrayList<>(); List<ProductBindingCouponType> productBindingCoupons = new ArrayList<>();
ProductBindingCouponType productBindingCouponType2 = new ProductBindingCouponType(); ProductBindingCouponType productBindingCouponType2 = new ProductBindingCouponType();
productBindingCouponType2.setActivityCode(active.getActiveCode()); productBindingCouponType2.setActivityCode(active.getActiveCode());
productBindingCouponType2.setNum(1); productBindingCouponType2.setNum(active.getAccountSendOutAmount());
productBindingCouponType2.setActivityName(active.getActiveName()); productBindingCouponType2.setActivityName(active.getActiveName());
productBindingCoupons.add(productBindingCouponType2); productBindingCoupons.add(productBindingCouponType2);
orderProductAddInfoDto.setProductBindingCoupons(productBindingCoupons); orderProductAddInfoDto.setProductBindingCoupons(productBindingCoupons);
......
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