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