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) throws HomeNavbarException, Exception;
|
|
|
/**
|
* 后端列表查询-同时super
|
* @param start
|
* @param count
|
* @param key
|
* @return
|
*/
|
public List<HomeNavbar> listQueryAndBusinessSystem(long start, int count, String key);
|
|
/**
|
* 后端查询
|
* @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> listQueryEffective();
|
|
/**
|
* 根据分类查询有效导航栏
|
* @param classId
|
* @return
|
*/
|
public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId);
|
|
}
|