From 738ac7f47b594f5bf4cf060084d533fd0abc5a44 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期一, 24 三月 2025 10:07:33 +0800
Subject: [PATCH] fix:新增退款订单导出接口

---
 LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs b/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs
index 6832ba0..b1185f6 100644
--- a/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs
+++ b/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs
@@ -43,13 +43,14 @@
         public async Task<PageOutput<OperateHistoryDto>> GetOperateHistoryByType(QueryOperateHistoryByTypeInput input)
         {
             var query = _operateHistory.AsQueryable();
-
             switch (input.OperateHistoryType)
             {
-              
                 case OperateHistoryTypeEnum.AccountManage:
                     query = query.Where(x => x.UserId == input.TypeId
                                           && LifePaymentConstant.LogsSpecies.AccountManageOperateNameList.Contains(x.OperateName));
+                    break;
+                case OperateHistoryTypeEnum.LifePayChannles:
+                    query = query.Where(x => x.RelationId == input.TypeId);
 
                     break;
                 default:

--
Gitblit v1.9.1