From 1999149b974925f3809702dda9be45bcf9efe633 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 18 May 2022 18:30:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 11ecf552d..b671b6efa 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -804,14 +804,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common inspection = f(entity); } inspection.Identification = $"{_userInfo.RequestUrl}/{ entityobj.GetType().Name}/{type}"; - if (data != null) - { - var originaldata = data.OriginalValues.ToObject(); - if (originaldata != null) - { - inspection.LastJsonDetail = originaldata.ToJcJson(); - } - } + //if (data != null) + //{ + // var originaldata = data.OriginalValues.ToObject(); + // if (originaldata != null) + // { + // inspection.LastJsonDetail = originaldata.ToJcJson(); + // } + //} await AddInspectionRecordAsync(inspection, entityobj, otherItem);