qin преди 1 година
родител
ревизия
968566c914
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mapper/statistics/DistinctionMapper.xml

+ 1 - 1
src/main/resources/mapper/statistics/DistinctionMapper.xml

@@ -6,6 +6,6 @@
         where
         operator_id = #{operatorId}
         and upload_date >= #{date}
-        and BIT_COUNT(uid ^ 0b${uid} )>=#{dCount} LIMIT 1
+        and BIT_COUNT(uid ^ 0b${uid} )<=#{dCount} LIMIT 1
     </select>
 </mapper>