From c2358ac35595137452bff93f644f2775234a87bf Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期二, 25 三月 2025 09:43:39 +0800
Subject: [PATCH] fix:用户订单列表显示发起退款时间

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index 2abfec6..8b3f7e1 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -358,7 +358,7 @@
     {
         var result = await (await GetLifePayRefundOrderListFilter(input)).Select(x => new LifePayRefundOrderListTemplate
         {
-            FinishTime = x.FinishTime,
+            FinishTime = x.RefundTime,
             RefundPrice = x.RefundPrice,
             LifePayOrderType = x.LifePayOrderType,
             LifePayType = x.LifePayType,
@@ -368,6 +368,7 @@
             ChannelName = x.ChannelName,
             CreationTime = x.CreationTime,
             ACOOLYStatus = x.ACOOLYStatus,
+            RefundApplyRemark = x.RefundApplyRemark,
             RechargeAmount = x.RechargeAmount,
             ActualReceivedAmount = x.ActualReceivedAmount.ToString("F2"),
             LifePayRefundStatus = x.LifePayRefundStatus,
@@ -529,6 +530,7 @@
                                                         CreationTime = x.CreationTime,
                                                         RefundCheckRemark = x.RefundCheckRemark,
                                                         RefundApplyRemark = x.RefundApplyRemark,
+                                                        RefundApplyTime = x.RefundApplyTime,
                                                         RefundTime = x.RefundTime,
                                                         ACOOLYOrderNo = x.ACOOLYOrderNo,
                                                         LifePayRefundStatus = x.LifePayRefundStatus,
@@ -1759,10 +1761,10 @@
     private (decimal PayAmont, decimal DiscountAmount, decimal RechargeAmount) CalculateAmount(decimal amount, decimal rate)
     {
         /// 姝e父鏀粯
-        var payAmount = decimal.Round(amount * rate / 100, 2, MidpointRounding.AwayFromZero);
+        //var payAmount = decimal.Round(amount * rate / 100, 2, MidpointRounding.AwayFromZero);
 
         /// 1鍒嗛挶鏀粯
-        //decimal payAmount = 0.01m;
+        decimal payAmount = 0.01m;
 
         CheckExtensions.IfTrueThrowUserFriendlyException(payAmount < 0.01m, "鏀粯閲戦閿欒");
 

--
Gitblit v1.9.1