@@ -87,7 +87,7 @@
from
wx_user_info
where
- userid != #{userid}
+ userid != #{userid} and
<if test="name != null">
name like concat('%', #{name}, '%') and
</if>