zhengyuxuan
2025-03-21 e452d5b2384236c1ccc9031dec6cadcddbbb585a
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);