From 3d8fc0776c2803d40fa1342d19e32d926cf6aba8 Mon Sep 17 00:00:00 2001 From: Hewt <109787524@qq.com> Date: Mon, 23 Mar 2026 10:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E5=85=88=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/AuditingData.cs | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index c735d76fa..4322faad7 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -3616,6 +3616,50 @@ namespace IRaCIS.Core.Infra.EFCore.Common } + //Segmentation + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(Segmentation))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as Segmentation; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + + //Segment + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(Segment))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as Segment; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + //SegmentBinding + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SegmentBinding))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as SegmentBinding; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingNoneDicomMark))) { var type = GetEntityAuditOpt(item);