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 {