@@ -109,7 +109,7 @@
where statistics_start_time = #{statisticsTime}) s
<where>
<if test="rankId != null">
- s.user_id > #{rankId}
+ s.user_id < #{rankId}
</if>
</where>
order by rank_id desc limit 1