diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index bb75fe00f..35527fffa 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -123,6 +123,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common //临床数据配置 var clinicalDataSetNameList = await _dbContext.ClinicalDataTrialSet.Where(t => t.TrialId == entity.Id && t.IsConfirm).Select(t => t.ClinicalDataSetName).ToListAsync(); + //List trialDics = new List(); @@ -266,6 +267,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common dicValueList = await _dbContext.Dictionary.Where(t => dicIdList.Contains(t.Id)).Select(t => t.Value).ToListAsync(); } + // 附加评估 + + var addtionalAssesementList = await _dbContext.TrialCriterionAdditionalAssessmentType.Where(t => t.TrialReadingCriterionId == entity.Id && t.IsSelected != null) + .Select(t => new { t.AdditionalAssessmentType, t.IsSelected }).ToListAsync(); + await InsertInspection(entity, type, x => new InspectionConvertDTO() { @@ -279,7 +285,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common }, new { - EvaluationResultTypes = dicValueList.Count > 0 ? string.Join(",", dicValueList) : string.Empty + EvaluationResultTypes = dicValueList.Count > 0 ? string.Join(",", dicValueList) : string.Empty, + AdditionalAssessmentTypeList= addtionalAssesementList }); }