diff --git a/src/main/java/com/sqx/modules/artificer/dao/MassageTypeDao.java b/src/main/java/com/sqx/modules/artificer/dao/MassageTypeDao.java index f73ccd2..e7ed425 100644 --- a/src/main/java/com/sqx/modules/artificer/dao/MassageTypeDao.java +++ b/src/main/java/com/sqx/modules/artificer/dao/MassageTypeDao.java @@ -23,5 +23,5 @@ public interface MassageTypeDao extends BaseMapper { IPage selectMassageTypeChildrenPage(Page pages, Integer status, String city, Integer sort, Integer authentication, Integer by, String title, Long artificerId, Long parentId, Long classifyId); - IPage selectMassageTypeQyPage(Page pages, String city, String title); + IPage selectMassageTypeQyPage(Page pages, @Param("city")String city, @Param("title")String title); } \ No newline at end of file diff --git a/src/main/resources/mapper/artificer/MassageTypeDao.xml b/src/main/resources/mapper/artificer/MassageTypeDao.xml index 5a3fcfd..857854e 100644 --- a/src/main/resources/mapper/artificer/MassageTypeDao.xml +++ b/src/main/resources/mapper/artificer/MassageTypeDao.xml @@ -69,21 +69,6 @@ from massage_type m left join sys_dict s on s.id=m.classify_id where 1=1 and qy_type = 1 - - and m.massage_type_id not in (select massage_type_id from artificer_massage where artificer_id=#{artificerId}) - - - and m.status=#{status} - - - and (m.parent_id is null or m.parent_id=0) - - - and m.parent_id=#{parentId} - - - and m.classify_id=#{classifyId} - and (m.city like concat('%',#{city},'%') or m.city='不限') @@ -91,18 +76,6 @@ and m.title like concat('%',#{title},'%') ) a - - order by price desc - - - order by price asc - - - order by sales desc - - - order by massageScore desc -