From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java index f00edbb..5437a63 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java @@ -42,7 +42,7 @@ * @throws HomeNavbarException * @throws Exception */ - public void updateOrder(Long id, Integer moveType) throws HomeNavbarException, Exception; + public void updateOrder(Long id, Integer moveType, Integer sex) throws HomeNavbarException, Exception; /** @@ -52,9 +52,9 @@ * @param key * @return */ - public List<HomeNavbar> listQuery(long start, int count, String key); + public List<HomeNavbar> listQuery(long start, int count, String key, Integer sex); - public long countlistQuery(String key); + public long countlistQuery(String key, Integer sex); /** @@ -69,5 +69,25 @@ * @return */ public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId); + + + /** + * 榛樿瀵艰埅鏍� + * @return + */ + public List<HomeNavbar> listQueryDefaultNavbar(Integer sex); + + /** + * 鍥哄畾鐨勫鑸爮 + * @return + */ + public List<HomeNavbar> listQueryFixedNavbar(); + + /** + * 鏀瑰彉鐘舵�� + * @param id + * @throws HomeNavbarException + */ + public void switchState(Long id) throws HomeNavbarException; } -- Gitblit v1.8.0