xiatian 2 년 전
부모
커밋
38762ebe0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/PaperMapper.xml

+ 1 - 1
src/main/resources/mapper/PaperMapper.xml

@@ -51,7 +51,7 @@
 		left join mps_exam e on t.exam_id=e.id
 		where t.exam_id
 		=#{examId} and exists (select 1 from mps_user_course_relation m where m.user_id=#{userId} and m.course_id=t.course_id)
-		order by t.id desc
+		order by c.code
 	</select>
 
 	<select id="subjectiveList"