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