admin
2020-11-28 dc5be7d38446f70e6ff86df311119c32b41fe7f8
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java
@@ -4,6 +4,7 @@
import java.util.List;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.entity.bus.homemodule.SwiperBanner;
import com.yeshi.fanli.exception.banner.SwiperBannerException;
@@ -17,13 +18,13 @@
   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, SystemEnum system);
   
   public long countQuery(String key) throws SwiperBannerException;
   public long countQuery(String key, SystemEnum system);
   
   public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
@@ -32,6 +33,13 @@
    * @return
    * @throws SwiperBannerException
    */
   public List<SwiperBanner> getEffectiveOption();
   public List<SwiperBanner> getEffectiveOption(SystemEnum system);
   /**
    * 状态切换
    * @param id
    * @throws SwiperBannerException
    */
   public void switchState(Long id) throws SwiperBannerException;
   
}