@@ -9,7 +9,7 @@
FROM
ta_document_verify a
LEFT JOIN ta_person b ON a.person_id = b.person_id
- where 1=1
+ where a.status = 1
<if test="name != '' and name !=null">
and IFNULL(b.name,b.nickname) like CONCAT('%',#{name}, '%')
</if>