package com.yeshi.fanli.service.inter.homemodule;
|
|
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.bus.homemodule.SwiperBanner;
|
import com.yeshi.fanli.exception.banner.SwiperBannerException;
|
|
public interface SwiperBannerService {
|
|
public int deleteByPrimaryKey(Long id) ;
|
|
public int insert(SwiperBanner record);
|
|
public int insertSelective(SwiperBanner record);
|
|
public SwiperBanner selectByPrimaryKey(Long id);
|
|
public int updateByPrimaryKeySelective(SwiperBanner record);
|
|
public int updateByPrimaryKey(SwiperBanner record);
|
|
public List<SwiperBanner> query(long start, int count, String key, Integer sort);
|
|
public long countQuery(String key);
|
|
public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
|
|
/**
|
* 有效
|
* @return
|
* @throws SwiperBannerException
|
*/
|
public List<SwiperBanner> getEffectiveOption();
|
|
/**
|
* 状态切换
|
* @param id
|
* @throws SwiperBannerException
|
*/
|
public void switchState(Long id) throws SwiperBannerException;
|
|
}
|