From 532bf7d3668b4ab0742c0dd33810bd11ff7936cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E7=AB=B9=E7=BA=A2?= Date: Tue, 21 Jan 2025 16:12:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ShopInfoMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml index fc7065e28..1258027f6 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml @@ -371,7 +371,7 @@ from xfsg_shop_info a left join xfsg_line_info b on a.line_id = b.id where a.deleted = 0 and a.development_manager = #{request.developmentManager} and shop_status in (0, 1) - and (b.username like #{request.keyword} or b.mobile like #{request.keyword}) + and (b.username like concat('%', #{request.keyword}, '%') or b.mobile like concat('%', #{request.keyword}, '%'))