diff --git a/src/main/resources/mapper/bl/massage/MassagePackageDao.xml b/src/main/resources/mapper/bl/massage/MassagePackageDao.xml index 53984ba..40ed08d 100644 --- a/src/main/resources/mapper/bl/massage/MassagePackageDao.xml +++ b/src/main/resources/mapper/bl/massage/MassagePackageDao.xml @@ -85,10 +85,10 @@ and a.title like concat('%',#{params.title},'%') - and a.classifyId = #{classifyId} + and a.classifyId = #{params.classifyId} - and a.type = #{params.title} + and a.type = #{params.type} 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, @@ -103,12 +103,12 @@ and a.title like concat('%',#{params.title},'%') - and a.classifyId = #{classifyId} + and a.classifyId = #{params.classifyId} - + and 1=1 - + and 1=2 order by sales desc,id asc