yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/homemodule/SwiperPictureMapper.java
@@ -1,59 +1,59 @@
package com.yeshi.fanli.dao.mybatis.homemodule;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture;
public interface SwiperPictureMapper {
   int deleteByPrimaryKey(Long id);
   int insert(SwiperPicture record);
   int insertSelective(SwiperPicture record);
   SwiperPicture selectByPrimaryKey(Long id);
   int updateByPrimaryKeySelective(SwiperPicture record);
   int updateByPrimaryKey(SwiperPicture record);
   List<SwiperPicture> queryByBannerID(@Param("start") long start, @Param("count") int count,
         @Param("bannerId") Long bannerId);
   long countQueryByBannerID(@Param("bannerId") Long bannerId);
   int deleteBatchByPrimaryKey(List<Long> list);
   int deleteBatchByBannerID(List<Long> list);
   List<SwiperPicture> queryByListPrimaryKey(List<Long> list);
   List<SwiperPicture> queryByListBannerID(List<Long> list);
   List<SwiperPicture> getOrderByBannerID(@Param("bannerId") Long bannerId, @Param("type") Integer type,
         @Param("order") Integer order);
   int getMaxOrderByBannerID(@Param("bannerId") Long bannerId);
   /**
    * 根据 唯一标识查询
    * @param card 唯一标识
    * @return
    */
   List<SwiperPicture> getByBannerCard(@Param("card") String card);
   /**
    * 根据 唯一标识查询
    * @param card 唯一标识
    * @return
    */
   List<SwiperPicture> getByBannerId(@Param("bannerId") Long bannerId);
package com.yeshi.fanli.dao.mybatis.homemodule;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture;
public interface SwiperPictureMapper {
   int deleteByPrimaryKey(Long id);
   int insert(SwiperPicture record);
   int insertSelective(SwiperPicture record);
   SwiperPicture selectByPrimaryKey(Long id);
   int updateByPrimaryKeySelective(SwiperPicture record);
   int updateByPrimaryKey(SwiperPicture record);
   List<SwiperPicture> queryByBannerID(@Param("start") long start, @Param("count") int count,
         @Param("bannerId") Long bannerId);
   long countQueryByBannerID(@Param("bannerId") Long bannerId);
   int deleteBatchByPrimaryKey(List<Long> list);
   int deleteBatchByBannerID(List<Long> list);
   List<SwiperPicture> queryByListPrimaryKey(List<Long> list);
   List<SwiperPicture> queryByListBannerID(List<Long> list);
   List<SwiperPicture> getOrderByBannerID(@Param("bannerId") Long bannerId, @Param("type") Integer type,
         @Param("order") Integer order);
   int getMaxOrderByBannerID(@Param("bannerId") Long bannerId);
   /**
    * 根据 唯一标识查询
    * @param card 唯一标识
    * @return
    */
   List<SwiperPicture> getByBannerCard(@Param("card") String card);
   /**
    * 根据 唯一标识查询
    * @param card 唯一标识
    * @return
    */
   List<SwiperPicture> getByBannerId(@Param("bannerId") Long bannerId);
}