xiatian 2 anni fa
parent
commit
38762ebe0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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"