yujian
2019-04-22 b6c37e4bc38db88a360d0f2c6099183f9bb75bdc
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/HomeNavbarService.java
@@ -1,6 +1,12 @@
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导航栏
@@ -10,16 +16,58 @@
 */
public interface HomeNavbarService {
   public int deleteByPrimaryKey(Long id);
   /**
    * 根据主键批量删除
    * @param list
    * @return
    */
   public int deleteBatchByPrimaryKey(List<Long> list);
   public int insert(HomeNavbar record);
   /**
    * 保存
    * @param file
    * @param record
    * @param jumpType
    * @throws HomeNavbarException
    * @throws Exception
    */
   public void saveObject(MultipartFile file, HomeNavbar record) throws HomeNavbarException, Exception;
   public int insertSelective(HomeNavbar record);
   /**
    * 更新排序顺序
    * @param id
    * @param moveType
    * @throws HomeNavbarException
    * @throws Exception
    */
   public void updateOrder(Long id, Integer moveType) throws HomeNavbarException, Exception;
   public HomeNavbar selectByPrimaryKey(Long id);
   public int updateByPrimaryKeySelective(HomeNavbar record);
   public int updateByPrimaryKey(HomeNavbar record);
   /**
    * 后端查询
    * @param start
    * @param count
    * @param key
    * @return
    */
   public List<HomeNavbar> listQuery(long start, int count, String key);
   public long countlistQuery(String key);
   /**
    * 查询有效导航栏
    * @return
    */
   public List<HomeNavbar> listQueryEffectiveNavbar();
   /**
    * 根据分类查询有效导航栏
    * @param classId
    * @return
    */
   public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId);
}