xiatian %!s(int64=2) %!d(string=hai) anos
pai
achega
38762ebe0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"