Uat_Study
he 2022-08-04 15:40:15 +08:00
parent 8eb5476f8e
commit a845dc536e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ namespace IRaCIS.Core.Application.Contracts
public async Task<List<QCQuestionView>> GetQuestionView(QCQuestionViewInDto inDto)
{
var question = new List<QCQuestionView>();
if (inDto.TrialId== null)
if (inDto.TrialId!= null)
{
question = await _trialQCQuestionRepository.Where(x => x.TrialId == inDto.TrialId).OrderBy(x => x.ShowOrder).ProjectTo<QCQuestionView>(_mapper.ConfigurationProvider).ToListAsync();
}