zoujiajian 2 лет назад
Родитель
Сommit
eb0769b3cb

+ 1 - 1
netflix-dao/src/main/resources/mapper/UserDistributeRankStatisticsRecordMapper.xml

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