Compare commits
No commits in common. "3c0199cebdf6b24573e94e2f073f14f2babc0369" and "654fb7116b2f4c7fa15dd0a01f5ed68a100d3caf" have entirely different histories.
3c0199cebd
...
654fb7116b
|
|
@ -1967,32 +1967,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(NoneDicomStudyFile)))
|
|
||||||
{
|
|
||||||
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as NoneDicomStudyFile;
|
|
||||||
|
|
||||||
var extraIdentification = string.Empty;
|
|
||||||
|
|
||||||
if (entity.VisitTaskId!=null)
|
|
||||||
{
|
|
||||||
extraIdentification = "/VisitTask";
|
|
||||||
}
|
|
||||||
|
|
||||||
var trialid = await _dbContext.NoneDicomStudy.Where(x => x.Id == entity.NoneDicomStudyId).Select(x => x.TrialId).FirstOrDefaultAsync();
|
|
||||||
|
|
||||||
|
|
||||||
await InsertInspection<NoneDicomStudy>(item.Entity as NoneDicomStudy, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
TrialId= trialid,
|
|
||||||
ObjectRelationParentId = x.SubjectVisitId,
|
|
||||||
ExtraIndentification = extraIdentification
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// 既往手术史
|
// 既往手术史
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousSurgery)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousSurgery)))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -108,9 +108,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
public bool IsSelfDefine = false;
|
public bool IsSelfDefine = false;
|
||||||
|
|
||||||
/// <summary>
|
// 额外标识
|
||||||
/// 额外标识
|
|
||||||
/// </summary>
|
|
||||||
public string ExtraIndentification = string.Empty;
|
public string ExtraIndentification = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue