fix(系统设置): 修改sql,根据ID或邮箱查询用户
This commit is contained in:
parent
270e816599
commit
f31ac1b1b6
|
@ -48,7 +48,7 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="searchUser" parameterType="java.lang.String" resultType="io.metersphere.base.domain.User">
|
<select id="searchUser" parameterType="java.lang.String" resultType="io.metersphere.base.domain.User">
|
||||||
select id, name, email, last_organization_id, last_workspace_id from `user` where name like CONCAT('%', #{condition},'%') or email like CONCAT('%', #{condition},'%') limit 100;
|
select id, name, email, last_organization_id, last_workspace_id from `user` where id like CONCAT('%', #{condition},'%') or email like CONCAT('%', #{condition},'%') limit 100;
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue