package com.sptg.ad.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.sptg.ad.api.entity.AdAdsense;
import com.sptg.ad.api.entity.AdMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdMaterialMapper extends BaseMapper<AdMaterial> {

    /**
     * 功能描述:分页查询广告素材
     * @param  wrapper 查询条件
     * @param  page 分页条件
     * @return
     *
     *
     */
    List<AdMaterial> showAdMaterialList(@Param(value = "ew") Wrapper<AdMaterial> wrapper, @Param(value = "page") Pagination page);


}
