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"