|
|
|
@ -517,7 +517,7 @@ public class OrderCreateHandleServiceImpl implements OrderCreateHandleService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public HighChildOrder couponPackage(CreateOrderChildModel createOrderChild) { |
|
|
|
|
public HighChildOrder couponPackage(HighOrder order , CreateOrderChildModel createOrderChild) { |
|
|
|
|
// 查询优惠券包
|
|
|
|
|
HighDiscountPackage discountPackage = discountPackageService.findDiscountPackageById(createOrderChild.getGoodsId().intValue()); |
|
|
|
|
if (discountPackage == null) { |
|
|
|
@ -546,6 +546,7 @@ public class OrderCreateHandleServiceImpl implements OrderCreateHandleService { |
|
|
|
|
childOrder.setGoodsId(discountPackage.getId().longValue()); |
|
|
|
|
childOrder.setGoodsName(discountPackage.getTitle()); |
|
|
|
|
childOrder.setGoodsImg(discountPackage.getListImg()); |
|
|
|
|
childOrder.setOrderNo(order.getOrderNo()); |
|
|
|
|
childOrder.setGoodsSpecName("默认"); |
|
|
|
|
childOrder.setGoodsPrice(discountPackage.getPrice()); |
|
|
|
|
childOrder.setGoodsActualPrice(discountPackage.getPrice()); |
|
|
|
|