From 86776380786900fd0b099cb4b399c3688fbff2c1 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 20 Feb 2023 15:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hai/order/service/impl/OrderServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 7ca4f502..273ab726 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 @@ -561,7 +561,7 @@ public class OrderServiceImpl implements OrderService { order.setRefundTime(new Date()); order.setOrderStatus(OrderStatus.STATUS4.getNumber()); - /*// 退回金额,原路返回 + // 退回金额,原路返回 RefundPriceModel refundPrice = orderRefundService.refundPrice(refundOrderNo , order , OrderPayType.getDataByType(order.getPayType()) @@ -569,13 +569,13 @@ public class OrderServiceImpl implements OrderService { , order.getPayGold()); if (!refundPrice.getRefundSuccess()) { throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "退款失败,请稍后重试"); - }*/ + } List refundList = orderRefundService.getRefundByRefundNo(refundOrderNo); for (HighOrderRefund orderRefund : refundList) { orderRefund.setRefundStatus(OrderRefundStatus.STATUS2.getNumber()); orderRefund.setRefundTime(new Date()); - //orderRefund.setThirdPartyRefundOrderNo(refundPrice.getThirdPartyRefundOrderNo()); + orderRefund.setThirdPartyRefundOrderNo(refundPrice.getThirdPartyRefundOrderNo()); orderRefundService.update(orderRefund); rocketMQTemplate.syncSend(OrderTopic.ORDER_TOPIC_REFUND_SUCCESS.getTopic(), orderRefund);