From ad8e329a739839bf5ce80b42d931b655c2c20356 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 09 六月 2025 15:40:30 +0800
Subject: [PATCH] feat:新增接口x2 GET​/api​/Promoter​/GetChannelConsultationById获取渠道咨询Id GET​/api​/Promoter​/GetPromoter获取推广员信息

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index 48708f5..25fc798 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -130,6 +130,16 @@
     }
 
     /// <summary>
+    /// 璇濊垂璁㈠崟鏌ヨ
+    /// </summary>
+    /// <param name="input"></param>
+    /// <returns></returns>
+    public async Task<QueryPhoneOrderResponse> QueryPhoneOrder(QueryPhoneOrderRequestInput input)
+    {
+        return await _aCOOLYManager.QueryPhoneOrder(input);
+    }
+
+    /// <summary>
     /// 鑾峰彇璇濊垂闈㈠��
     /// </summary>
     /// <param name="input"></param>
@@ -1378,10 +1388,11 @@
         var order = await _lifePayOrderRepository.Where(x => x.OrderNo == orderNo).FirstOrDefaultAsync();
         CheckExtensions.IfTrueThrowUserFriendlyException(order == null, "璁㈠崟涓嶅瓨鍦�");
 
-        //if (order.LifePayOrderStatus == LifePayOrderStatusEnum.宸插畬鎴�)
-        //{
-        //    return;
-        //}
+        if (order.LifePayOrderStatus == status && order.ACOOLYStatus == acoolyStatus)
+        {
+            _logger.LogInformation($"璁㈠崟锛坽orderNo}锛夊凡澶勭悊璇ョ姸鎬�");
+            return;
+        }
 
         order.ActualReceivedAmount = actualParValue;
 

--
Gitblit v1.9.1