From 694201b84f101a62a26ae13791d75e3fd9f418de Mon Sep 17 00:00:00 2001 From: wangxianzhang Date: Sat, 26 Mar 2022 17:06:58 +0800 Subject: [PATCH] =?UTF-8?q?mariadb=E4=B8=8D=E6=94=AF=E6=8C=81innodb?= =?UTF-8?q?=E5=85=A8=E6=96=87=E7=B4=A2=E5=BC=95=EF=BC=8C=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E7=94=A8like=E4=BB=A3=E6=9B=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/IcUserDemandRecDao.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml index 02432b91c5..1cfd4b51d3 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml @@ -328,7 +328,7 @@ AND ( r.DEMAND_USER_NAME = #{keyword} - OR match(r.CONTENT) against (#{keyword} in boolean mode ) + OR r.CONTENT like CONCAT('%',#{keyword},'%') OR s.SERVER_NAME like CONCAT('%',#{keyword},'%') )