From 5b237740ab4ef64bc95faa2ebd9af5f3671e4453 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Wed, 30 Jul 2025 10:49:28 +0800
Subject: [PATCH] feat: 商户端的商品查询增加价格排序

---
 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