From 03a3d175b94824f7063a85cb1308d4f36b768aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Fri, 7 Aug 2026 10:41:05 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E9=80=80=E6=AC=BE=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 95325a7fa6ea2dc09242b6e61ce1ec856223c62a. --- YD_Event.Application/Event/UnifiedRegistrationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YD_Event.Application/Event/UnifiedRegistrationService.cs b/YD_Event.Application/Event/UnifiedRegistrationService.cs index bd0e440..44a3258 100644 --- a/YD_Event.Application/Event/UnifiedRegistrationService.cs +++ b/YD_Event.Application/Event/UnifiedRegistrationService.cs @@ -3858,8 +3858,8 @@ public class UnifiedRegistrationService : ITransient OriginalAmount = order.ActualAmount, ActualAmount = actualRefundAmount, DiscountAmount = 0, - // 统一用 Refunded,实退 0 的留痕单也要能被列表查到: - OrderStatus = OrderStatus.Refunded, + // 实退 0 记为"已取消",与真实退款区分,避免对账时把 0 元单误读为已退款 + OrderStatus = actualRefundAmount > 0 ? OrderStatus.Refunded : OrderStatus.Cancelled, PaymentTime = now, Remark = input.CancelReason, CreatedTime = now,