From 87b0ae0a2aca16763bf054c4c785323e36f68387 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 11 六月 2025 17:46:28 +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