Jelajahi Sumber

fix 计费单商品

he2802 3 tahun lalu
induk
melakukan
a5a68d2882

+ 3 - 1
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionMapper.xml

@@ -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">

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/course/CourseChapterMapper.xml

@@ -151,6 +151,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </if>
         GROUP BY
         c.chapter_id
+        ORDER BY c.chapter_id DESC
    </select>