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))) {