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 | 118 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 93 insertions(+), 25 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 c7c61b8..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,25 +1,93 @@ -package com.yeshi.fanli.service.inter.homemodule; - -import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar; - -/** - * APP瀵艰埅鏍� - * - * @author Administrator - * - */ -public interface HomeNavbarService { - - public int deleteByPrimaryKey(Long id); - - public int insert(HomeNavbar record); - - public int insertSelective(HomeNavbar record); - - public HomeNavbar selectByPrimaryKey(Long id); - - public int updateByPrimaryKeySelective(HomeNavbar record); - - public int updateByPrimaryKey(HomeNavbar record); - -} +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