From e452d5b2384236c1ccc9031dec6cadcddbbb585a Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 15:54:11 +0800 Subject: [PATCH] fix:提交 --- LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs b/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs index 6832ba0..b64e9cf 100644 --- a/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs +++ b/LifePayment/LifePayment.Application/Setting/OperateHistoryService.cs @@ -43,15 +43,17 @@ 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: query = query.Where(x => x.RelationId == input.TypeId); -- Gitblit v1.9.1