This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user