package cn.iocoder.yudao.module.custom.mapper;

import cn.iocoder.yudao.module.custom.entity.BasePromotion;
import cn.iocoder.yudao.module.custom.vo.BasePromotionReqVO;
import cn.iocoder.yudao.module.custom.vo.BasePromotionRespVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 推广记录表 Mapper
 * @author 小李
 * @date 16:38 2024/8/13
**/
@Mapper
public interface BasePromotionMapper extends BaseMapper<BasePromotion> {

    /**
     * 分页查询推广记录
     *
     * @param pageReqVO 查询条件对象
     * @author 小李
     * @date 16:50 2024/8/13
     **/
    IPage<BasePromotionRespVO> queryListPage(@Param("map") BasePromotionReqVO pageReqVO, Page<BasePromotion> page);
}
