package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.BannerInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.BannerInfoQuery;
import com.zsElectric.boot.business.model.vo.BannerInfoVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 小程序banner图Mapper接口
 *
 * @author wzq
 * @since 2025-11-26 15:59
 */
@Mapper
public interface BannerInfoMapper extends BaseMapper<BannerInfo> {

    /**
     * 获取小程序banner图分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<BannerInfoVO>} 小程序banner图分页列表
     */
    Page<BannerInfoVO> getBannerInfoPage(Page<BannerInfoVO> page, BannerInfoQuery queryParams);

}
