package cn.iocoder.yudao.module.custom.service.impl;

import cn.iocoder.yudao.module.custom.entity.BasePromotion;
import cn.iocoder.yudao.module.custom.mapper.BasePromotionMapper;
import cn.iocoder.yudao.module.custom.service.BasePromotionService;
import cn.iocoder.yudao.module.custom.vo.BasePromotionReqVO;
import cn.iocoder.yudao.module.custom.vo.BasePromotionRespVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 推广记录表 接口实现类
 * @author 小李
 * @date 16:41 2024/8/13
**/
@Service
public class BasePromotionServiceImpl extends ServiceImpl<BasePromotionMapper, BasePromotion> implements BasePromotionService {
    /**
     * 分页查询推广记录
     *
     * @param pageReqVO 查询条件对象
     * @author 小李
     * @date 16:50 2024/8/13
     **/
    @Override
    public IPage<BasePromotionRespVO> queryListPage(BasePromotionReqVO pageReqVO, Page<BasePromotion> page) {
        return baseMapper.queryListPage(pageReqVO, page);
    }
}
