From c66ba90caa6d8f3aa65e887591160f3db3103a19 Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Wed, 10 Jul 2024 17:51:24 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E6=9D=A1?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/mapper/bl/massage/MassagePackageDao.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/resources/mapper/bl/massage/MassagePackageDao.xml b/src/main/resources/mapper/bl/massage/MassagePackageDao.xml
index 43350bb..3deb05f 100644
--- a/src/main/resources/mapper/bl/massage/MassagePackageDao.xml
+++ b/src/main/resources/mapper/bl/massage/MassagePackageDao.xml
@@ -69,6 +69,9 @@
and (a.city like concat('%',#{params.city},'%') or a.city='不限')
+
+ and a.title like concat('%',#{params.title},'%')
+
union all
select massage_type_id as id,title,classify_id as type,b.value as type_name,old_price,price,massage_img,jianjie,content_img,add_num,sales,labels,'项目' as flag,1 as is_can_coupon,1 as is_can_vip
from massage_type a
@@ -77,6 +80,9 @@
and (a.city like concat('%',#{params.city},'%') or a.city='不限')
+
+ and a.title like concat('%',#{params.title},'%')
+
order by sales desc,id asc