소스 검색

fix 课程排序

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