From 6e82b8ef0f9a2d50fe8cfbd0b0fdddbbbc974a67 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Wed, 25 May 2022 10:13:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
index d4effd16f..02e9b3882 100644
--- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
+++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
@@ -11,7 +11,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
-using System.Text;
using System.Threading.Tasks;
namespace IRaCIS.Core.Infra.EFCore.Common
@@ -532,6 +531,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
}
}
+
+
#region 注释代码
////非Dicom文件
//foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(NoneDicomStudyFile)))
@@ -872,11 +873,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
/// 插入稽查实体
///
/// 泛型
- /// 数据
- /// 类型
- /// 表达式
- /// 实体对象
- /// 实体名称
+ /// 数据 EF 跟踪实体信息
+ /// 类型 Add|Update|delete
+ /// 表达式 稽查实体部分字段赋值
+ /// 实体对象 添加到稽查记录详细Json 匿名对象
+ /// 实体名称
///
public async Task InsertInspection(EntityEntry data, string type, Expression> expression = null, object otherItem = null, T entityData = null) where T : class
{
@@ -898,6 +899,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
}
+
+
inspection.Identification = $"{_userInfo.RequestUrl}/{ entityTypeName}/{type}";
#region 注释