Uat_Study
he 2022-10-18 13:33:37 +08:00
parent 0c919869b3
commit 642e6d4672
2 changed files with 14 additions and 3 deletions

View File

@ -334,11 +334,24 @@ namespace IRaCIS.Core.Application.Contracts
/// </summary>
public Guid TrialId { get; set; }
public bool IsSystemCriterion
{
get
{
return this.ReadingQuestionCriterionSystemId != null;
}
}
/// <summary>
/// 阅片平台
/// </summary>
public int ImagePlatform { get; set; } = 1;
/// <summary>
/// 系统标准ID
/// </summary>
public Guid? ReadingQuestionCriterionSystemId { get; set; }
/// <summary>
/// 阅片模式
/// </summary>

View File

@ -299,15 +299,13 @@ namespace IRaCIS.Core.Application
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
});
}
result.IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null;
};
result.TrialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrial.IsConfirm && x.TrialId == inDto.TrialId&&x.ReadingQuestionCriterionTrialId == result.TrialCriterionId
&&x.ReadingCriterionPageId==null)
.ProjectTo<TrialReadQuestion>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
result.IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null;
return result;
}