修改日志查询条数有问题
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2024-12-26 17:38:42 +08:00
parent 9b94ad70ee
commit 8b7c429e9f
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ namespace IRaCIS.Core.Application.ViewModel
public string? ActionUserName { get; set; }
public string ActionUserRoleShortName { get; set; }
//public string ActionUserRoleShortName { get; set; }
public DateTime CreateTime { get; set; }
public Guid CreateUserId { get; set; }

View File

@ -123,7 +123,7 @@ namespace IRaCIS.Core.Application.Service
CreateMap<UserLog, UserLogView>()
.ForMember(d => d.ActionUserRoleShortName, c => c.MapFrom(t => t.CreateUserRole.UserTypeRole.UserTypeShortName))
//.ForMember(d => d.ActionUserRoleShortName, c => c.MapFrom(t => t.CreateUserRole.UserTypeRole.UserTypeShortName))
.ForMember(d => d.TargetIdentityUserName, c => c.MapFrom(t => t.TargetIdentityUser.UserName));