From 6977e233bb17da305e093a0c8694339333af055e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Sun, 23 Apr 2023 23:23:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=98=A0=E5=B0=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Framework.Module/OperLogManager/OperationLogService.cs | 2 -- .../Rbac/Services/Impl/LoginLogService.cs | 2 -- .../Rbac/Dtos/LoginLog/LoginLogGetListOutputDto.cs | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Yi.Furion.Net6/Yi.Framework.Module/OperLogManager/OperationLogService.cs b/Yi.Furion.Net6/Yi.Framework.Module/OperLogManager/OperationLogService.cs index 2df65f49..c1f20bf4 100644 --- a/Yi.Furion.Net6/Yi.Framework.Module/OperLogManager/OperationLogService.cs +++ b/Yi.Furion.Net6/Yi.Framework.Module/OperLogManager/OperationLogService.cs @@ -16,8 +16,6 @@ namespace Yi.Framework.Module.OperLogManager { public override async Task> GetListAsync(OperationLogGetListInputVo input) { - var entity = await MapToEntityAsync(input); - RefAsync total = 0; var entities = await _DbQueryable.WhereIF(!string.IsNullOrEmpty(input.OperUser), x => x.OperUser.Contains(input.OperUser!)) diff --git a/Yi.Furion.Net6/Yi.Furion.Application/Rbac/Services/Impl/LoginLogService.cs b/Yi.Furion.Net6/Yi.Furion.Application/Rbac/Services/Impl/LoginLogService.cs index 451dfddb..d88e8803 100644 --- a/Yi.Furion.Net6/Yi.Furion.Application/Rbac/Services/Impl/LoginLogService.cs +++ b/Yi.Furion.Net6/Yi.Furion.Application/Rbac/Services/Impl/LoginLogService.cs @@ -10,8 +10,6 @@ namespace Yi.Furion.Application.Rbac.Services.Impl { public override async Task> GetListAsync(LoginLogGetListInputVo input) { - var entity = await MapToEntityAsync(input); - RefAsync total = 0; var entities = await _DbQueryable.WhereIF(!string.IsNullOrEmpty(input.LoginIp), x => x.LoginIp.Contains(input.LoginIp!)) diff --git a/Yi.Furion.Net6/Yi.Furion.Core/Rbac/Dtos/LoginLog/LoginLogGetListOutputDto.cs b/Yi.Furion.Net6/Yi.Furion.Core/Rbac/Dtos/LoginLog/LoginLogGetListOutputDto.cs index 4a8e1adb..b0148404 100644 --- a/Yi.Furion.Net6/Yi.Furion.Core/Rbac/Dtos/LoginLog/LoginLogGetListOutputDto.cs +++ b/Yi.Furion.Net6/Yi.Furion.Core/Rbac/Dtos/LoginLog/LoginLogGetListOutputDto.cs @@ -4,8 +4,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.LoginLog { public class LoginLogGetListOutputDto : EntityDto { - public DateTime CreationTime { get; } - + public DateTime CreationTime { get; set; } public string? LoginUser { get; set; }