Uat_Study
parent
0c919869b3
commit
642e6d4672
|
@ -334,11 +334,24 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public bool IsSystemCriterion
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.ReadingQuestionCriterionSystemId != null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片平台
|
/// 阅片平台
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImagePlatform { get; set; } = 1;
|
public int ImagePlatform { get; set; } = 1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 系统标准ID
|
||||||
|
/// </summary>
|
||||||
|
public Guid? ReadingQuestionCriterionSystemId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片模式
|
/// 阅片模式
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -299,15 +299,13 @@ namespace IRaCIS.Core.Application
|
||||||
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
|
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
|
result.TrialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrial.IsConfirm && x.TrialId == inDto.TrialId&&x.ReadingQuestionCriterionTrialId == result.TrialCriterionId
|
||||||
&&x.ReadingCriterionPageId==null)
|
&&x.ReadingCriterionPageId==null)
|
||||||
.ProjectTo<TrialReadQuestion>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
|
.ProjectTo<TrialReadQuestion>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
|
||||||
|
|
||||||
result.IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null;
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue