修改非dicom 编辑检查 是否阅片 是否删除稽查
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-07-09 11:04:10 +08:00
parent 8d81115525
commit 546d8e2cc3
1 changed files with 8 additions and 2 deletions

View File

@ -67,7 +67,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
typeof(TrialSiteSurvey), typeof(TrialSiteSurvey),
typeof(TrialSiteUserRole), typeof(TrialSiteUserRole),
typeof(VisitStage), typeof(VisitStage),
typeof(TrialSite) typeof(TrialSite),
typeof(NoneDicomStudy)
}; };
} }
} }
@ -2311,6 +2313,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
var enrollId = first.EnrollId; var enrollId = first.EnrollId;
var trialReadingCriterionId = first.TrialReadingCriterionId;
Guid? trialId = Guid.Empty; Guid? trialId = Guid.Empty;
if (first.Enroll != null) if (first.Enroll != null)
@ -2326,12 +2330,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common
await InsertInspection<EnrollReadingCategory>(first, type, x => new InspectionConvertDTO() await InsertInspection<EnrollReadingCategory>(first, type, x => new InspectionConvertDTO()
{ {
//GeneralId 和ObjectRelationParentId 一样 会成环 所以查询的时候 需要排除自身 //GeneralId 和ObjectRelationParentId 一样 会成环 所以查询的时候 需要排除自身
GeneralId = enrollId, GeneralId = IdentifierHelper.CreateGuid(enrollId.ToString(), trialReadingCriterionId.ToString()),
TrialId = trialId, TrialId = trialId,
ObjectRelationParentId = enrollId, ObjectRelationParentId = enrollId,
ObjectRelationParentId2=trialReadingCriterionId,
IsDistinctionInterface = false IsDistinctionInterface = false
}, new }, new
{ {