package cn.iocoder.yudao.module.jx.service;

import cn.iocoder.yudao.module.jx.domain.DriveSchoolSeparate;
import cn.iocoder.yudao.module.jx.domain.DriveSchoolSwiper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 驾校-轮播图Service接口
 *
 * @author ruoyi
 * @date 2024-03-19
 */
public interface IDriveSchoolSwiperService
{
    /**
     * 查询驾校-轮播图
     *
     * @param id 驾校-轮播图主键
     * @return 驾校-轮播图
     */
    public DriveSchoolSwiper selectDriveSchoolSwiperById(Long id);

    /**
     * 查询驾校-轮播图列表
     *
     * @param driveSchoolSwiper 驾校-轮播图
     * @return 驾校-轮播图集合
     */
    public List<DriveSchoolSwiper> selectDriveSchoolSwiperList(DriveSchoolSwiper driveSchoolSwiper);

    /**
     * 新增驾校-轮播图
     *
     * @param driveSchoolSwiper 驾校-轮播图
     * @return 结果
     */
    public int insertDriveSchoolSwiper(DriveSchoolSwiper driveSchoolSwiper);

    /**
     * 修改驾校-轮播图
     *
     * @param driveSchoolSwiper 驾校-轮播图
     * @return 结果
     */
    public int updateDriveSchoolSwiper(DriveSchoolSwiper driveSchoolSwiper);

    /**
     * 批量删除驾校-轮播图
     *
     * @param ids 需要删除的驾校-轮播图主键集合
     * @return 结果
     */
    public int deleteDriveSchoolSwiperByIds(Long[] ids);

    /**
     * 删除驾校-轮播图信息
     *
     * @param id 驾校-轮播图主键
     * @return 结果
     */
    public int deleteDriveSchoolSwiperById(Long id);

    /**
     * 分页查询驾校-轮播图
     *
     * @param driveSchoolSwiper 驾校-轮播图
     * @return 结果
     */
    public IPage<DriveSchoolSwiper> selectDriveSchoolSwiperPclist(DriveSchoolSwiper driveSchoolSwiper, Page<DriveSchoolSwiper> page);
}
