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);
|
|
|
}
|