Kaynağa Gözat

图片查重

qin 1 yıl önce
ebeveyn
işleme
5984028f54

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

@@ -4,8 +4,8 @@
     <select id="checkDis" resultType="java.lang.Long">
         select order_id from ${dbName}_face.f_distinction_img
         where
-        operator_id = ${operatorId}
-        and upload_date >= ${date}
-        and BIT_COUNT(uid ^ 0b${uid} )&gt;=${dCount} LIMIT 1
+        operator_id = #{operatorId}
+        and upload_date >= #{date}
+        and BIT_COUNT(uid ^ 0b${uid} )&gt;=#{dCount} LIMIT 1
     </select>
 </mapper>