From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 28 十一月 2020 16:37:05 +0800
Subject: [PATCH] 大淘客搜索接口升级

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 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..8954287 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
@@ -2,6 +2,7 @@
 
 import java.util.List;
 
+import com.yeshi.fanli.entity.SystemEnum;
 import org.apache.ibatis.annotations.Param;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -29,7 +30,6 @@
 	 * 淇濆瓨
 	 * @param file
 	 * @param record
-	 * @param jumpType
 	 * @throws HomeNavbarException
 	 * @throws Exception
 	 */
@@ -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,22 +52,42 @@
 	 * @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, SystemEnum system);
 	
-	public long countlistQuery(String key);
+	public long countlistQuery(String key,  Integer sex, SystemEnum system);
 	
 	
 	/**
 	 * 鏌ヨ鏈夋晥瀵艰埅鏍�
 	 * @return
 	 */
-	public List<HomeNavbar> listQueryEffectiveNavbar();
+	public List<HomeNavbar> listQueryEffectiveNavbar(SystemEnum system);
 	
 	/**
 	 * 鏍规嵁鍒嗙被鏌ヨ鏈夋晥瀵艰埅鏍�
 	 * @param classId
 	 * @return
 	 */
-	public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId);
+	public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId, SystemEnum system);
+
+
+	/**
+	 * 榛樿瀵艰埅鏍�
+	 * @return
+	 */
+	public List<HomeNavbar> listQueryDefaultNavbar(Integer sex, SystemEnum system);
+
+	/**
+	 *  鍥哄畾鐨勫鑸爮
+	 * @return
+	 */
+	public List<HomeNavbar> listQueryFixedNavbar(SystemEnum system);
+
+	/**
+	 * 鏀瑰彉鐘舵��
+	 * @param id
+	 * @throws HomeNavbarException
+	 */
+	public void switchState(Long id) throws HomeNavbarException;
 	
 }

--
Gitblit v1.8.0