소스 검색

Merge branch 'feature/exam' into test
合并冲突

guqiang 2 주 전
부모
커밋
dfa5a14c51
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Hotline.Application/Exam/Service/Practices/PracticeService.cs

+ 1 - 0
src/Hotline.Application/Exam/Service/Practices/PracticeService.cs

@@ -400,6 +400,7 @@ namespace Hotline.Application.Exam.Service.Practices
             var practiceQuestionOptionTable = _practiceQuestionOptionsRepository.Queryable();
 
             var queryResult = practiceQuestionTable.InnerJoin(practiceQuestionOptionTable, (p, o) => p.QuestionId == o.QuestionId && p.Id == o.PracticeQuestionId)
+                .OrderBy((p,o)=>o.Label)
                 .Select((p, o) => new PracticeQuestionOptionsDto
                 {
                     Content = o.Content,