From 906dbfc74b270b958ba959b9c54f0d2133b41e44 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 11 四月 2025 13:57:27 +0800
Subject: [PATCH] fix;主动计算平台扣款金额

---
 LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
index bfec02f..5dc1ddd 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
@@ -102,10 +102,7 @@
 
                 if (wxPayNotice.OutTradeNo.Contains("JF"))
                 {
-                    if (wxPayNotice.RefundStatus == LifePaymentConstant.WxPayRefundStatus.閫�娆炬垚鍔�)
-                    {
-                        
-                    }
+                   
                     switch (wxPayNotice.RefundStatus)
                     {
                         case LifePaymentConstant.WxPayRefundStatus.閫�娆炬垚鍔�:
@@ -115,6 +112,7 @@
                             await _lifePayOrderService.AddLifePayExpensesReceipts(new AddLifePayExpensesReceiptsInput()
                             {
                                 OrderNo = wxPayNotice.OutTradeNo,
+                                OutRefundNo = wxPayNotice.OutRefundNo,
                                 OutOrderNo = wxPayNotice.TransactionId,
                                 LifePayType = LifePayTypeEnum.WxPay,
                                 ExpensesReceiptsType = ExpensesReceiptsTypeEnum.Receipts,

--
Gitblit v1.9.1