|
|
@ -112,7 +112,7 @@ public class OrderCreateService { |
|
|
|
orderCoupon.setStatus(OrderChildStatusEnum.status1.getCode()); |
|
|
|
orderCoupon.setStatus(OrderChildStatusEnum.status1.getCode()); |
|
|
|
orderCouponService.editData(orderCoupon); |
|
|
|
orderCouponService.editData(orderCoupon); |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < orderCoupon.getGoodsCount(); i++) { |
|
|
|
for (int i = 0; i <= orderCoupon.getGoodsCount(); i++) { |
|
|
|
// 卡券订单卡密
|
|
|
|
// 卡券订单卡密
|
|
|
|
BsOrderCouponNo orderCouponNo = new BsOrderCouponNo(); |
|
|
|
BsOrderCouponNo orderCouponNo = new BsOrderCouponNo(); |
|
|
|
orderCouponNo.setCouponOrderId(orderCoupon.getId()); |
|
|
|
orderCouponNo.setCouponOrderId(orderCoupon.getId()); |
|
|
|