refactor(系统设置): 系统用户组搜索特殊字符转义处理
This commit is contained in:
parent
899f780fef
commit
e9d6c9bb49
|
@ -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('%', concat('|', #{request.keyword}),'%') ESCAPE '|'
|
||||
or u.email like concat('%', concat('|', #{request.keyword}),'%') ESCAPE '|'
|
||||
)
|
||||
</if>
|
||||
order by urr.create_time desc
|
||||
|
|
Loading…
Reference in New Issue