system 新增用户查询筛选
This commit is contained in:
parent
a71efab417
commit
1511465eb5
|
|
@ -140,6 +140,9 @@
|
||||||
left join sys_role r on r.role_id = ur.role_id
|
left join sys_role r on r.role_id = ur.role_id
|
||||||
left join user_face uf on uf.user_id = u.user_id
|
left join user_face uf on uf.user_id = u.user_id
|
||||||
where u.del_flag = '0'
|
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">
|
<if test="userId != null and userId != 0">
|
||||||
AND u.user_id = #{userId}
|
AND u.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue