@@ -118,7 +118,9 @@
<if test="pageSizeSelf != null and pageSizeSelf != ''">
LIMIT #{currIndex} , #{pageSizeSelf}
</if>
-
+ GROUP BY
+ q.question_id
+ ORDER BY q.chapter_id DESC
</select>
<select id="selectList_COUNT" resultType="Long">
@@ -151,6 +151,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
GROUP BY
c.chapter_id
+ ORDER BY c.chapter_id DESC