fix(组织成员): 修复组织成员搜索报错问题

This commit is contained in:
guoyuqi 2024-01-31 20:36:39 +08:00 committed by 刘瑞斌
parent f602e80ee6
commit 831834cb5d
1 changed files with 4 additions and 4 deletions

View File

@ -99,15 +99,15 @@
</select>
<select id="selectListMemberByOrg" resultType="io.metersphere.system.dto.OptionDisabledDTO">
select id, name
from user
where deleted = 0
select u.id, u.name
from user u
where u.deleted = 0
<if test="keyword != null and keyword != ''">
and (u.name like CONCAT('%', #{request.keyword},'%')
or u.email like CONCAT('%', #{request.keyword},'%')
or u.phone like CONCAT('%', #{request.keyword},'%'))
</if>
order by update_time desc
order by u.update_time desc
limit 100
</select>