fix(组织成员): 修复组织成员搜索报错问题
This commit is contained in:
parent
f602e80ee6
commit
831834cb5d
|
@ -99,15 +99,15 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectListMemberByOrg" resultType="io.metersphere.system.dto.OptionDisabledDTO">
|
<select id="selectListMemberByOrg" resultType="io.metersphere.system.dto.OptionDisabledDTO">
|
||||||
select id, name
|
select u.id, u.name
|
||||||
from user
|
from user u
|
||||||
where deleted = 0
|
where u.deleted = 0
|
||||||
<if test="keyword != null and keyword != ''">
|
<if test="keyword != null and keyword != ''">
|
||||||
and (u.name like CONCAT('%', #{request.keyword},'%')
|
and (u.name like CONCAT('%', #{request.keyword},'%')
|
||||||
or u.email like CONCAT('%', #{request.keyword},'%')
|
or u.email like CONCAT('%', #{request.keyword},'%')
|
||||||
or u.phone like CONCAT('%', #{request.keyword},'%'))
|
or u.phone like CONCAT('%', #{request.keyword},'%'))
|
||||||
</if>
|
</if>
|
||||||
order by update_time desc
|
order by u.update_time desc
|
||||||
limit 100
|
limit 100
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue