退款订单状态
This commit is contained in:
parent
8d812bf3df
commit
95325a7fa6
@ -3858,8 +3858,8 @@ public class UnifiedRegistrationService : ITransient
|
||||
OriginalAmount = order.ActualAmount,
|
||||
ActualAmount = actualRefundAmount,
|
||||
DiscountAmount = 0,
|
||||
// 实退 0 记为"已取消",与真实退款区分,避免对账时把 0 元单误读为已退款
|
||||
OrderStatus = actualRefundAmount > 0 ? OrderStatus.Refunded : OrderStatus.Cancelled,
|
||||
// 统一用 Refunded,实退 0 的留痕单也要能被列表查到:
|
||||
OrderStatus = OrderStatus.Refunded,
|
||||
PaymentTime = now,
|
||||
Remark = input.CancelReason,
|
||||
CreatedTime = now,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user