system 新增用户查询筛选

This commit is contained in:
liux 2025-11-13 18:09:31 +08:00
parent a71efab417
commit 1511465eb5
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@
left join sys_role r on r.role_id = ur.role_id
left join user_face uf on uf.user_id = u.user_id
where u.del_flag = '0'
<if test="nickName != null and nickName !=''">
and u.nick_name like concat('%', #{nickName}, '%')
</if>
<if test="userId != null and userId != 0">
AND u.user_id = #{userId}
</if>