yujian
2019-08-27 d8359ddb48dab5cc797a9d552e11fde571f4920c
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java
@@ -11,17 +11,14 @@
public interface SwiperPictureService {
   public int deleteByPrimaryKey(Long id) throws SwiperPictureException;
   public int insert(SwiperPicture record) throws SwiperPictureException;
   public int insertSelective(SwiperPicture record);
   public int insertSelective(SwiperPicture record) throws SwiperPictureException;
   public SwiperPicture selectByPrimaryKey(Long id);
   public SwiperPicture selectByPrimaryKey(Long id) throws SwiperPictureException;
   public int updateByPrimaryKeySelective(SwiperPicture record);
   public int updateByPrimaryKeySelective(SwiperPicture record) throws SwiperPictureException;
   public int updateByPrimaryKey(SwiperPicture record) throws SwiperPictureException;
   public int updateByPrimaryKey(SwiperPicture record);
   
   /**
    * 查询
@@ -51,13 +48,6 @@
    */
   public int deleteBatchByBannerID(List<Long> list) throws SwiperPictureException;
   
   /**
    * 上传图片
    * @param file
    * @param record
    * @throws Exception
    */
   public void uploadPicture(MultipartFile file, SwiperPicture record) throws Exception;
   /**
    * 根据管理id集合 查询
@@ -75,7 +65,7 @@
    * @return
    * @throws SwiperPictureException
    */
   public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order) throws SwiperPictureException;
   public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order);
   /**
    * 获取最大排序值
@@ -89,12 +79,21 @@
    * @param card 唯一标识
    * @return
    */
   public List<SwiperPicture> getByBannerCard(String card)   throws SwiperPictureException;
   public List<SwiperPicture> getByBannerCard(String card);
   /**
    * 保存信息
    * @param record
    * @throws SwiperPictureException
    */
   public void save(SwiperPicture record) throws SwiperPictureException;
   public void saveObject(MultipartFile file, SwiperPicture record, String jumpType) throws SwiperPictureException, Exception;
   /**
    * 根据管理id 查询有效轮播图
    * @param bannerId
    * @return
    * @throws SwiperPictureException
    */
   public List<SwiperPicture> getByBannerId(Long bannerId) throws SwiperPictureException;
}