fix:修复时间映射问题
This commit is contained in:
@@ -16,8 +16,6 @@ namespace Yi.Framework.Module.OperLogManager
|
||||
{
|
||||
public override async Task<PagedResultDto<OperationLogGetListOutputDto>> GetListAsync(OperationLogGetListInputVo input)
|
||||
{
|
||||
var entity = await MapToEntityAsync(input);
|
||||
|
||||
RefAsync<int> total = 0;
|
||||
|
||||
var entities = await _DbQueryable.WhereIF(!string.IsNullOrEmpty(input.OperUser), x => x.OperUser.Contains(input.OperUser!))
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Yi.Furion.Application.Rbac.Services.Impl
|
||||
{
|
||||
public override async Task<PagedResultDto<LoginLogGetListOutputDto>> GetListAsync(LoginLogGetListInputVo input)
|
||||
{
|
||||
var entity = await MapToEntityAsync(input);
|
||||
|
||||
RefAsync<int> total = 0;
|
||||
|
||||
var entities = await _DbQueryable.WhereIF(!string.IsNullOrEmpty(input.LoginIp), x => x.LoginIp.Contains(input.LoginIp!))
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.LoginLog
|
||||
{
|
||||
public class LoginLogGetListOutputDto : EntityDto<long>
|
||||
{
|
||||
public DateTime CreationTime { get; }
|
||||
|
||||
public DateTime CreationTime { get; set; }
|
||||
|
||||
public string? LoginUser { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user