소스 검색

图片查重

qin 1 년 전
부모
커밋
5984028f54
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/main/resources/mapper/statistics/DistinctionMapper.xml

+ 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>