From f56bd6ecf5c144b51eb7837adb2de3f259dea18e Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 6 Feb 2023 17:31:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A42=E3=80=820=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hai/order/service/impl/OrderPaySuccessServiceImpl.java | 2 +- .../main/java/com/hai/order/service/impl/OrderServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java b/hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java index d5183219..07e638e5 100644 --- a/hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java +++ b/hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java @@ -390,7 +390,7 @@ public class OrderPaySuccessServiceImpl implements OrderPaySuccessService { * @Return void */ private void eCouponPackageHandle(HighOrder order , HighChildOrder highChildOrder) throws Exception { - HighDiscountPackageActual actual = discountPackageActualService.getDetailByChildOrderNo(highChildOrder.getOrderNo()); + HighDiscountPackageActual actual = discountPackageActualService.getDetailByChildOrderNo(highChildOrder.getChildOrderNo()); if (actual != null) { List discountList = discountPackageDiscountActualService.getHighDiscountPackageDiscountActualList(actual.getId()); for (HighDiscountPackageDiscountActual discount : discountList) { diff --git a/hai-service/src/main/java/com/hai/order/service/impl/OrderServiceImpl.java b/hai-service/src/main/java/com/hai/order/service/impl/OrderServiceImpl.java index 75e0a13b..f66202d7 100644 --- a/hai-service/src/main/java/com/hai/order/service/impl/OrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/order/service/impl/OrderServiceImpl.java @@ -230,7 +230,7 @@ public class OrderServiceImpl implements OrderService { throw ErrorHelp.genException(SysCode.System, ErrorCode.COUPON_STOCK_INSUFFICIENT, ""); } list.get(0).setUserId(order.getMemId().intValue()); - list.get(0).setExt1(childOrder.getOrderNo()); + list.get(0).setExt1(childOrder.getChildOrderNo()); list.get(0).setStatus(2); // 状态: 1: 待分配 2:预分配(售卖)3:已分配 discountPackageActualService.updateHighDiscountPackageActual(list.get(0));