From 7440258d31a6ef7d76eb2351852cec9f2bdd4222 Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Mon, 21 Jul 2025 16:16:28 +0800 Subject: [PATCH] fix: 调整店铺商品查询的参数 --- oying-system/src/main/resources/mapper/pc/store/StoreMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/oying-system/src/main/resources/mapper/pc/store/StoreMapper.xml b/oying-system/src/main/resources/mapper/pc/store/StoreMapper.xml index ccbbecf..a70ccfa 100644 --- a/oying-system/src/main/resources/mapper/pc/store/StoreMapper.xml +++ b/oying-system/src/main/resources/mapper/pc/store/StoreMapper.xml @@ -126,7 +126,7 @@ <!-- 店铺名称模糊查询 AND s.name LIKE CONCAT('%', #{criteria.blurry}, '%') --> <if test="criteria.blurry != null and criteria.blurry != ''"> - AND MATCH(s.store_name) AGAINST(#{criteria.blurry} IN NATURAL LANGUAGE MODE) + AND s.store_name like concat('%', #{criteria.blurry}, '%') </if> <!-- 营业状态 --> -- Gitblit v1.9.3