he2802 преди 4 години
родител
ревизия
779aeb2c6c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionBankMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionBankMapper.xml

@@ -41,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="typeId != null and typeId != ''">
             AND qb.type_id = #{typeId}
         </if>
+        ORDER BY qb.sort DESC
     </select>
 
     <select id="queryRecommendList" parameterType="com.zhongzheng.modules.bank.bo.QuestionBankQueryBo"  resultMap="QuestionBankResult">