代码修改
parent
0405ba4b13
commit
e705e12656
|
@ -328,6 +328,34 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
// PACS直连
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSiteDicomAE)))
|
||||
{
|
||||
var type = GetEntityAuditOpt(item);
|
||||
|
||||
var entity = item.Entity as TrialSiteDicomAE;
|
||||
|
||||
|
||||
await InsertInspection<TrialSiteDicomAE>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
ObjectRelationParentId=entity.TrialSiteId,
|
||||
});
|
||||
}
|
||||
|
||||
// PACS直连
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialDicomAE)))
|
||||
{
|
||||
var type = GetEntityAuditOpt(item);
|
||||
|
||||
var entity = item.Entity as TrialDicomAE;
|
||||
|
||||
|
||||
await InsertInspection<TrialDicomAE>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
});
|
||||
}
|
||||
|
||||
//系统标准问题
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingQuestionSystem)))
|
||||
{
|
||||
|
@ -2314,6 +2342,27 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
}, new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() });
|
||||
}
|
||||
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingConsistentClinicalData)))
|
||||
{
|
||||
var type = GetEntityAuditOpt(item);
|
||||
|
||||
var entity = item.Entity as ReadingConsistentClinicalData;
|
||||
|
||||
var config = await _dbContext.ClinicalDataTrialSet.FindAsync(entity.ClinicalDataTrialSetId);
|
||||
|
||||
await InsertInspection<ReadingConsistentClinicalData>(item.Entity as ReadingConsistentClinicalData, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
|
||||
IsDistinctionInterface = type == AuditOpt.Update ? true : false,
|
||||
|
||||
SubjectVisitId = x.IsVisit ? x.ReadingId : null,
|
||||
|
||||
ObjectRelationParentId = entity.ClinicalDataTrialSetId,
|
||||
|
||||
//ObjectRelationParentId2 = x.IsVisit == false?x.ReadingId:null
|
||||
}, new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() });
|
||||
}
|
||||
|
||||
//阅片期计划
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingPeriodSet)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue