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; }