From 1a9b3e311b8bd7bcce61791dd9f65b52cbc42740 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Thu, 16 Feb 2023 10:17:45 +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 --- .../rocketmq/consumer/OrderRefundSuccessConsumer.java | 11 ++++++++++- .../com/hai/order/service/impl/OrderServiceImpl.java | 7 +++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/hai-order/src/main/java/com/web/rocketmq/consumer/OrderRefundSuccessConsumer.java b/hai-order/src/main/java/com/web/rocketmq/consumer/OrderRefundSuccessConsumer.java index 460c6dad..e89d0f57 100644 --- a/hai-order/src/main/java/com/web/rocketmq/consumer/OrderRefundSuccessConsumer.java +++ b/hai-order/src/main/java/com/web/rocketmq/consumer/OrderRefundSuccessConsumer.java @@ -47,8 +47,17 @@ public class OrderRefundSuccessConsumer implements RocketMQListener 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); } - return updateOrderData(order); }