diff --git a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs index c4e4865fa..04b1d5db5 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs @@ -150,7 +150,7 @@ namespace IRaCIS.Core.Application.ViewModel public string ConfigType { get; set; } = string.Empty; - public bool? IsShowParent { get; set; } + public int? IsShowParent { get; set; } public int? Sort { get; set; } diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index c8d9ebf5e..e3ca780cb 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -118,7 +118,7 @@ namespace IRaCIS.Core.Application.Service.Inspection //CreateUserName = leftuser.UserName, //RoleName = leftusertype.UserTypeShortName, - CreateUserRealName=data.CreateUserName, + CreateUserRealName=data.CreateUserRealName, CreateUserName = data.CreateUserName, RoleName=data.RoleName, diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 924e9f834..3af5943f1 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -1738,6 +1738,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common //} inspection.CreateUserName = _userInfo.UserName; + inspection.CreateUserRealName = _userInfo.RealName; inspection.RoleName = _userInfo.UserTypeShortName; inspection.CreateUserId = _userInfo.Id; inspection.IP = _userInfo.IP;