From c4c1ae11cf288b46455953524a4ca31406bb51b5 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 7 Sep 2022 17:16:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A8=BD=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Common/DTO/FrontAuditConfigViewModel.cs | 2 +- IRaCIS.Core.Application/Service/Inspection/InspectionService.cs | 2 +- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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;