修改
This commit is contained in:
@@ -194,7 +194,7 @@ namespace IRaCIS.Application.Services
|
||||
.WhereIf(inDto.TableQuestionType!=null,x=>x.TableQuestionType ==inDto.TableQuestionType!)
|
||||
.Where(x=>x.ReadingQuestionId==inDto.ReadingQuestionId).ProjectTo<ReadingTableQuestionSystemView>(_mapper.ConfigurationProvider);
|
||||
|
||||
var result=await readingTableQuestionSystemQueryable.ToListAsync();
|
||||
var result=await readingTableQuestionSystemQueryable.OrderBy(x=>x.ShowOrder).ToListAsync();
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace IRaCIS.Application.Services
|
||||
.WhereIf(inDto.TableQuestionType != null, x => x.TableQuestionType == inDto.TableQuestionType!)
|
||||
.Where(x => x.ReadingQuestionId == inDto.ReadingQuestionId).ProjectTo<ReadingTableQuestionTrialView>(_mapper.ConfigurationProvider);
|
||||
|
||||
var result = await readingTableQuestionSystemQueryable.ToListAsync();
|
||||
var result = await readingTableQuestionSystemQueryable.OrderBy(x=>x.ShowOrder).ToListAsync();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user