修改
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user