fix(项目管理): 用户组添加的成员支持手机号搜索
--bug=1034870 --user=宋昌昌 【项目管理】-用户组成员列表搜索,使用邮箱搜索结果错误 https://www.tapd.cn/55049933/s/1456716
This commit is contained in:
parent
c75aa0bb13
commit
b9d5839572
|
@ -30,7 +30,9 @@
|
||||||
and urr.role_id = #{request.userRoleId}
|
and urr.role_id = #{request.userRoleId}
|
||||||
<if test="request.keyword != null and request.keyword != ''">
|
<if test="request.keyword != null and request.keyword != ''">
|
||||||
and (
|
and (
|
||||||
u.name like concat('%', #{request.keyword}, '%') or u.email like concat('%', #{request.keyword}, '%')
|
u.name like concat('%', #{request.keyword}, '%')
|
||||||
|
or u.email like concat('%', #{request.keyword}, '%')
|
||||||
|
or u.phone like concat('%', #{request.keyword}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
and urr.role_id = #{request.userRoleId}
|
and urr.role_id = #{request.userRoleId}
|
||||||
<if test="request.keyword != null and request.keyword != ''">
|
<if test="request.keyword != null and request.keyword != ''">
|
||||||
and (
|
and (
|
||||||
u.name like concat('%', #{request.keyword}, '%') or u.email like concat('%', #{request.keyword}, '%')
|
u.name like concat('%', #{request.keyword}, '%')
|
||||||
|
or u.email like concat('%', #{request.keyword}, '%')
|
||||||
|
or u.phone like concat('%', #{request.keyword}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue