package com.yeshi.fanli.service.inter.homemodule;
|
|
import java.util.List;
|
|
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);
|
|
/**
|
* 根据主键批量删除
|
* @param list
|
* @return
|
*/
|
int deleteBatchByPrimaryKey(List<Long> list);
|
|
/**
|
* 获取最大的排序值
|
* @param card
|
* @return
|
*/
|
int getMaxOrder();
|
|
/**
|
* 查询交换排序对象
|
* @param type
|
* @param order 排序值
|
* @return
|
*/
|
List<HomeNavbar> getChangeOrder(Long id, Integer type, Integer order);
|
|
/**
|
* 后端列表查询
|
* @param start
|
* @param count
|
* @param key
|
* @return
|
*/
|
List<HomeNavbar> listQuery(long start, int count, String key);
|
|
long countlistQuery(String key);
|
|
}
|