@@ -14,7 +14,7 @@
<if test="name != '' and name !=null">
and IFNULL(b.name,b.nickname) like CONCAT('%',#{name}, '%')
</if>
- <if test="name != '' and name !=null">
+ <if test="tel != '' and tel !=null">
and IFNULL(b.tel,b.phone) = #{tel}
order by a.create_date desc