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