Commit 310df7b4 by chongfu.liang

添加发券数

parent 7533ea7e
...@@ -566,13 +566,13 @@ public class SellCouponOrderServiceImpl { ...@@ -566,13 +566,13 @@ public class SellCouponOrderServiceImpl {
orderItemCreateReq.setProductSeq(1); orderItemCreateReq.setProductSeq(1);
orderItemCreateReq.setProductCode(activityCode); orderItemCreateReq.setProductCode(activityCode);
orderItemCreateReq.setThirdProductId(""); orderItemCreateReq.setThirdProductId("");
orderItemCreateReq.setProductQuantity(active.getAccountSendOutAmount()); orderItemCreateReq.setProductQuantity(1);
OrderProductAddInfoDto orderProductAddInfoDto = new OrderProductAddInfoDto(); OrderProductAddInfoDto orderProductAddInfoDto = new OrderProductAddInfoDto();
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