From d699bedade1d20e5f36bb09ba73e0a8b7c62e014 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 21 三月 2025 14:30:45 +0800
Subject: [PATCH] fix:新增返回值

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index 4cf07aa..ff3ef8a 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -304,6 +304,7 @@
                                 PayTime = a.PayTime,
                                 ACOOLYOrderNo = a.ACOOLYOrderNo,
                                 RefundCredentialsImgUrl = a.RefundCredentialsImgUrl.GetOssPath(),
+                                RefundPrice = a.RefundPrice,
                                 CreationTime = a.CreationTime,
                                 RefundCheckRemark = a.RefundCheckRemark,
                                 RefundApplyRemark = a.RefundApplyRemark,
@@ -318,6 +319,11 @@
         return result;
     }
 
+    /// <summary>
+    /// 閫�娆捐鍗曞垎椤�
+    /// </summary>
+    /// <param name="input"></param>
+    /// <returns></returns>
     public async Task<PageOutput<LifePayOrderListOutput>> GetLifePayRefundOrderPage(QueryLifePayRefundOrderListInput input)
     {
 
@@ -360,6 +366,7 @@
                                 RefundApplyRemark = a.RefundApplyRemark,
                                 RefundApplyTime = a.RefundApplyTime,
                                 RefundTime = a.RefundTime,
+                                RefundPrice = a.RefundPrice,
                                 ChannelName = b.ChannlesName,
                                 ActualRechargeAmount = a.ActualRechargeAmount,
                                 PlatformDeductionAmount = a.PlatformDeductionAmount,
@@ -410,6 +417,7 @@
             PlatformRate = platformRate.Rate,
             PlatformPrice = order.PlatformDeductionAmount,
             ElecBillUrl = order.ElecBillUrl.GetOssPath(),
+            RefundElecBillUrl = order.RefundElecBillUrl.GetOssPath(),
             ChannleRate = channle.ChannlesRate,
             ChannlesRakeRate = channle.ChannlesRakeRate,
             ChannlesRakePrice = channlesRakePrice.HasValue ? 0 : Math.Round(channlesRakePrice.Value, 2),
@@ -460,6 +468,7 @@
             ActualRechargeAmount = order.ActualRechargeAmount,
             RefundPrice = order.RefundPrice,
             ElecBillUrl = order.ElecBillUrl.GetOssPath(),
+            RefundElecBillUrl = order.RefundElecBillUrl.GetOssPath(),
         };
 
         return result;
@@ -939,6 +948,9 @@
             case LifePayOrderTypeEnum.鐢佃垂璁㈠崟:
                 desc += "鐢佃垂";
                 break;
+            case LifePayOrderTypeEnum.鐕冩皵璁㈠崟:
+                desc += "鐕冩皵";
+                break;
             default:
                 break;
         }
@@ -1232,8 +1244,6 @@
             return;
         }
 
-        order.LifePayOrderStatus = status;
-        order.ACOOLYStatus = acoolyStatus;
         order.PlatformDeductionAmount = payAmount;
         if (acoolyOrderNo.IsNotNullOrEmpty())
         {
@@ -1250,6 +1260,8 @@
             order.PayStatus = LifePayStatusEnum.寰呴��娆�;
         }
 
+        order.LifePayOrderStatus = status;
+        order.ACOOLYStatus = acoolyStatus;
 
         await _lifePayOrderRepository.UpdateAsync(order);
     }

--
Gitblit v1.10.0