@@ -30,7 +30,7 @@ public interface ImageSimilarityRepository
|
|||||||
JOIN file_entities f
|
JOIN file_entities f
|
||||||
ON f.id = h.file_id
|
ON f.id = h.file_id
|
||||||
WHERE ref.file_id = :fileId
|
WHERE ref.file_id = :fileId
|
||||||
AND f.protection_status = "PROTECTED"
|
AND f.status = 'ACTIVE'
|
||||||
""",
|
""",
|
||||||
nativeQuery = true)
|
nativeQuery = true)
|
||||||
List<SimilarImageProjection> findCandidates(
|
List<SimilarImageProjection> findCandidates(
|
||||||
|
|||||||
Reference in New Issue
Block a user