夏文涛 il y a 2 ans
Parent
commit
0830339f8d

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