zoujiajian 2 年之前
父節點
當前提交
eb0769b3cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netflix-dao/src/main/resources/mapper/UserDistributeRankStatisticsRecordMapper.xml

+ 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