package com.ruoyi.project.tr.slideshowPic.mapper;
|
|
import java.util.List;
|
import com.ruoyi.project.tr.slideshowPic.domain.SlideshowPic;
|
|
/**
|
* 轮播图Mapper接口
|
*
|
* @author wm
|
* @date 2020-07-18
|
*/
|
public interface SlideshowPicMapper
|
{
|
/**
|
* 查询轮播图
|
*
|
* @param slideshowPicId 轮播图ID
|
* @return 轮播图
|
*/
|
SlideshowPic selectSlideshowPicById(Long slideshowPicId);
|
|
/**
|
* 查询轮播图列表
|
*
|
* @param slideshowPic 轮播图
|
* @return 轮播图集合
|
*/
|
List<SlideshowPic> selectSlideshowPicList(SlideshowPic slideshowPic);
|
|
/**
|
* 新增轮播图
|
*
|
* @param slideshowPic 轮播图
|
* @return 结果
|
*/
|
int insertSlideshowPic(SlideshowPic slideshowPic);
|
|
/**
|
* 修改轮播图
|
*
|
* @param slideshowPic 轮播图
|
* @return 结果
|
*/
|
int updateSlideshowPic(SlideshowPic slideshowPic);
|
|
/**
|
* 删除轮播图
|
*
|
* @param slideshowPicId 轮播图ID
|
* @return 结果
|
*/
|
int deleteSlideshowPicById(Long slideshowPicId);
|
|
/**
|
* 批量删除轮播图
|
*
|
* @param slideshowPicIds 需要删除的数据ID
|
* @return 结果
|
*/
|
int deleteSlideshowPicByIds(String[] slideshowPicIds);
|
}
|