From d4d5ed0d9a3b7e214755041dbf52d01e25133e77 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 26 Sep 2024 10:47:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 37ee67e59..81e650294 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -1915,6 +1915,19 @@ namespace IRaCIS.Core.Infra.EFCore.Common }); } + // 后处理Dicom影像 + // TaskStudy + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TaskStudy))) + { + var type = GetEntityAuditOpt(item); + + await InsertInspection(item.Entity as TaskStudy, type, x => new InspectionConvertDTO() + { + ObjectRelationParentId = x.VisitTaskId + }); + } + // 序列 foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(DicomSeries))) {