Uat_Study
parent
0c919869b3
commit
642e6d4672
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue