From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 23 一月 2024 17:17:55 +0800
Subject: [PATCH] 抖音转链修改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java |  179 +++++++++++++++++++++++++++++++----------------------------
 1 files changed, 93 insertions(+), 86 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 85bd14f..a65bc4f 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
@@ -1,86 +1,93 @@
-package com.yeshi.fanli.service.inter.homemodule;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-import org.springframework.web.multipart.MultipartFile;
-
-import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar;
-import com.yeshi.fanli.exception.homemodule.HomeNavbarException;
-
-/**
- *  APP瀵艰埅鏍�
- * 
- * @author Administrator
- *
- */
-public interface HomeNavbarService {
-
-	
-	/**
-	 * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
-	 * @param list
-	 * @return
-	 */
-	public int deleteBatchByPrimaryKey(List<Long> list);
-	
-
-	/**
-	 * 淇濆瓨
-	 * @param file
-	 * @param record
-	 * @param jumpType
-	 * @throws HomeNavbarException
-	 * @throws Exception
-	 */
-	public void saveObject(MultipartFile file, HomeNavbar record) throws HomeNavbarException, Exception;
-
-	/**
-	 * 鏇存柊鎺掑簭椤哄簭
-	 * @param id
-	 * @param moveType
-	 * @throws HomeNavbarException
-	 * @throws Exception
-	 */
-	public void updateOrder(Long id, Integer moveType, Integer sex) throws HomeNavbarException, Exception;
-
-	
-	/**
-	 * 鍚庣鏌ヨ
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @return
-	 */
-	public List<HomeNavbar> listQuery(long start, int count, String key,  Integer sex);
-	
-	public long countlistQuery(String key,  Integer sex);
-	
-	
-	/**
-	 * 鏌ヨ鏈夋晥瀵艰埅鏍�
-	 * @return
-	 */
-	public List<HomeNavbar> listQueryEffectiveNavbar();
-	
-	/**
-	 * 鏍规嵁鍒嗙被鏌ヨ鏈夋晥瀵艰埅鏍�
-	 * @param classId
-	 * @return
-	 */
-	public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId);
-
-
-	/**
-	 * 榛樿瀵艰埅鏍�
-	 * @return
-	 */
-	public List<HomeNavbar> listQueryDefaultNavbar(Integer sex);
-
-	/**
-	 *  鍥哄畾鐨勫鑸爮
-	 * @return
-	 */
-	public List<HomeNavbar> listQueryFixedNavbar();
-	
-}
+package com.yeshi.fanli.service.inter.homemodule;
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.web.multipart.MultipartFile;
+
+import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar;
+import com.yeshi.fanli.exception.homemodule.HomeNavbarException;
+
+/**
+ *  APP瀵艰埅鏍�
+ * 
+ * @author Administrator
+ *
+ */
+public interface HomeNavbarService {
+
+	
+	/**
+	 * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
+	 * @param list
+	 * @return
+	 */
+	public int deleteBatchByPrimaryKey(List<Long> list);
+	
+
+	/**
+	 * 淇濆瓨
+	 * @param file
+	 * @param record
+	 * @throws HomeNavbarException
+	 * @throws Exception
+	 */
+	public void saveObject(MultipartFile file, HomeNavbar record) throws HomeNavbarException, Exception;
+
+	/**
+	 * 鏇存柊鎺掑簭椤哄簭
+	 * @param id
+	 * @param moveType
+	 * @throws HomeNavbarException
+	 * @throws Exception
+	 */
+	public void updateOrder(Long id, Integer moveType, Integer sex) throws HomeNavbarException, Exception;
+
+	
+	/**
+	 * 鍚庣鏌ヨ
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @return
+	 */
+	public List<HomeNavbar> listQuery(long start, int count, String key,  Integer sex, SystemEnum system);
+	
+	public long countlistQuery(String key,  Integer sex, SystemEnum system);
+	
+	
+	/**
+	 * 鏌ヨ鏈夋晥瀵艰埅鏍�
+	 * @return
+	 */
+	public List<HomeNavbar> listQueryEffectiveNavbar(SystemEnum system);
+	
+	/**
+	 * 鏍规嵁鍒嗙被鏌ヨ鏈夋晥瀵艰埅鏍�
+	 * @param classId
+	 * @return
+	 */
+	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