admin
2020-11-28 dc5be7d38446f70e6ff86df311119c32b41fe7f8
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,17 +42,8 @@
    * @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;
   /**
    * 后端列表查询-同时super
    * @param start
    * @param count
    * @param key
    * @return
    */
   public List<HomeNavbar> listQueryAndBusinessSystem(long start, int count, String key);
   
   /**
    * 后端查询
@@ -61,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> listQueryEffective();
   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;
   
}