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>
<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>