fix(系统设置): 组织成员搜索支持邮箱手机号
--bug=1034787 --user=宋昌昌 【系统设置】系统-组织与项目-组织-成员-搜索功能-未支持邮箱与手机号搜索 https://www.tapd.cn/55049933/s/1462456
This commit is contained in:
parent
95d54812cd
commit
efddde8138
|
@ -68,7 +68,9 @@
|
||||||
and urr.source_id = #{request.organizationId}
|
and urr.source_id = #{request.organizationId}
|
||||||
</if>
|
</if>
|
||||||
<if test="request.keyword != null and request.keyword != ''">
|
<if test="request.keyword != null and request.keyword != ''">
|
||||||
and u.name like concat('%', #{request.keyword},'%')
|
and (u.name like CONCAT('%', #{request.keyword},'%')
|
||||||
|
or u.email like CONCAT('%', #{request.keyword},'%')
|
||||||
|
or u.phone like CONCAT('%', #{request.keyword},'%'))
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by urr.create_time desc
|
order by urr.create_time desc
|
||||||
|
|
Loading…
Reference in New Issue