package com.bonus.canteen.core.basic.mapper;

import java.util.List;
import com.bonus.canteen.core.basic.domain.BasicCarouselImage;

/**
 * 轮播图设置Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface BasicCarouselImageMapper {
    /**
     * 查询轮播图设置
     * 
     * @param id 轮播图设置主键
     * @return 轮播图设置
     */
    public BasicCarouselImage selectBasicCarouselImageById(Long id);

    /**
     * 查询轮播图设置列表
     * 
     * @param basicCarouselImage 轮播图设置
     * @return 轮播图设置集合
     */
    public List<BasicCarouselImage> selectBasicCarouselImageList(BasicCarouselImage basicCarouselImage);

    /**
     * 新增轮播图设置
     * 
     * @param basicCarouselImage 轮播图设置
     * @return 结果
     */
    public int insertBasicCarouselImage(BasicCarouselImage basicCarouselImage);

    /**
     * 修改轮播图设置
     * 
     * @param basicCarouselImage 轮播图设置
     * @return 结果
     */
    public int updateBasicCarouselImage(BasicCarouselImage basicCarouselImage);

    /**
     * 删除轮播图设置
     * 
     * @param id 轮播图设置主键
     * @return 结果
     */
    public int deleteBasicCarouselImageById(Long id);

    /**
     * 批量删除轮播图设置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasicCarouselImageByIds(Long[] ids);
}
