加手机号模糊查询

This commit is contained in:
shuo.wang
2025-04-14 17:03:20 +08:00
parent 8564e70e13
commit d1afd3ed4e

View File

@@ -176,7 +176,7 @@
from enterprise_user_${eid}
where active = true
<if test="keyword!=null and keyword!=''">
and name like concat('%',#{keyword},'%')
and( name like concat('%',#{keyword},'%') or mobile like concat('%',#{keyword},'%'))
</if>
</select>
</mapper>