From 546d8e2cc368b46bae4b82ad39d0c89f8130d602 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 9 Jul 2025 11:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9D=9Edicom=20=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=A3=80=E6=9F=A5=20=E6=98=AF=E5=90=A6=E9=98=85?= =?UTF-8?q?=E7=89=87=20=E6=98=AF=E5=90=A6=E5=88=A0=E9=99=A4=E7=A8=BD?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 819d4f7d5..9765f482f 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -67,7 +67,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common typeof(TrialSiteSurvey), typeof(TrialSiteUserRole), typeof(VisitStage), - typeof(TrialSite) + typeof(TrialSite), + typeof(NoneDicomStudy) + }; } } @@ -2311,6 +2313,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common var enrollId = first.EnrollId; + var trialReadingCriterionId = first.TrialReadingCriterionId; + Guid? trialId = Guid.Empty; if (first.Enroll != null) @@ -2326,12 +2330,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common await InsertInspection(first, type, x => new InspectionConvertDTO() { //GeneralId 和ObjectRelationParentId 一样 会成环 所以查询的时候 需要排除自身 - GeneralId = enrollId, + GeneralId = IdentifierHelper.CreateGuid(enrollId.ToString(), trialReadingCriterionId.ToString()), TrialId = trialId, ObjectRelationParentId = enrollId, + ObjectRelationParentId2=trialReadingCriterionId, + IsDistinctionInterface = false }, new {