From 9eb5f720996f363ed41e39f2137cd58c6975824e Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 31 Jan 2024 09:52:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BB=84=E7=BB=87=E6=88=90=E5=91=98):?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=89=80=E6=9C=89=E6=9C=AA=E8=A2=AB=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=94=A8=E6=88=B7=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E5=92=8C=E7=94=B5=E8=AF=9D=E7=9A=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/system/mapper/ExtOrganizationMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtOrganizationMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtOrganizationMapper.xml index 5e5251d354..c7484aac95 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtOrganizationMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtOrganizationMapper.xml @@ -103,7 +103,9 @@ from user where deleted = 0 - and name LIKE CONCAT('%', #{keyword}, '%') + and (u.name like CONCAT('%', #{request.keyword},'%') + or u.email like CONCAT('%', #{request.keyword},'%') + or u.phone like CONCAT('%', #{request.keyword},'%')) order by update_time desc limit 100