refactor(系統): 用户组查询sql
This commit is contained in:
parent
f605fb41b5
commit
d027064a93
|
@ -31,8 +31,8 @@
|
|||
inner join user u on urr.user_id = u.id and urr.role_id = #{request.roleId} and u.deleted = 0
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (
|
||||
u.name like concat('%', '|'+#{request.keyword},'%') ESCAPE '|'
|
||||
or u.email like concat('%', '|'+#{request.keyword},'%') ESCAPE '|'
|
||||
u.name like concat('%', #{request.keyword},'%')
|
||||
or u.email like concat('%', #{request.keyword},'%')
|
||||
)
|
||||
</if>
|
||||
order by urr.create_time desc
|
||||
|
|
Loading…
Reference in New Issue