admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java
@@ -9,22 +9,36 @@
public interface SwiperBannerService {
   public int deleteByPrimaryKey(Long id) throws SwiperBannerException;
   public int deleteByPrimaryKey(Long id) ;
   public int insert(SwiperBanner record) throws SwiperBannerException;
   public int insert(SwiperBanner record);
   public int insertSelective(SwiperBanner record) throws SwiperBannerException;
   public int insertSelective(SwiperBanner record);
   public SwiperBanner selectByPrimaryKey(Long id) throws SwiperBannerException;
   public SwiperBanner selectByPrimaryKey(Long id);
   public int updateByPrimaryKeySelective(SwiperBanner record) throws SwiperBannerException;
   public int updateByPrimaryKeySelective(SwiperBanner record);
   public int updateByPrimaryKey(SwiperBanner record) throws SwiperBannerException;
   public int updateByPrimaryKey(SwiperBanner record);
   
   public List<SwiperBanner> query(long start, int count, String key, Integer sort) throws SwiperBannerException;
   public List<SwiperBanner> query(long start, int count, String key, Integer sort);
   
   public long countQuery(String key) throws SwiperBannerException;
   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;
   
}