|
@@ -127,7 +127,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
|
- ORDER BY a.create_time desc
|
|
|
+ ORDER BY a.id desc, b.id desc
|
|
|
</select>
|
|
|
|
|
|
<select id="findBriefPage" resultType="com.qmth.distributed.print.business.bean.result.ExaminationResult">
|
|
@@ -202,7 +202,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
|
- GROUP BY det.id
|
|
|
+ GROUP BY det.id order by det.id desc
|
|
|
<trim prefix="having" suffixOverrides="and">
|
|
|
<if test="courseCode != null and courseCode != ''">
|
|
|
find_in_set(#{courseCode},courseCodes) and
|
|
@@ -301,6 +301,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
|
+ order by stu.exam_detail_course_id desc, stu.id desc
|
|
|
</select>
|
|
|
<select id="findDetailPageById"
|
|
|
resultType="com.qmth.distributed.print.business.bean.result.ExaminationDetailResult">
|