Browse Source

展示六位

夏文涛 2 years atrás
parent
commit
0830339f8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/template/SmartEvaluateTeacherMapper.xml

+ 1 - 1
src/main/resources/mapper/template/SmartEvaluateTeacherMapper.xml

@@ -18,7 +18,7 @@
         <if test="termId != null and termId != ''">
             and term_id = #{termId}
         </if>
-        order by total_score desc
+        order by total_score desc limit 6
     </select>
 
     <select id="getRankingList" resultType="com.template.model.vo.RankingVo">