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.AdOfflinePushRecord;
import com.sptg.ad.api.entity.AdPushTask;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * title: AdOfflinePushRecordMapper
 * package: com.sptg.ad.biz.mapper
 * description: 广告内容-DAO接口
 *
 *
 *
 */
public interface AdOfflinePushRecordMapper extends BaseMapper<AdOfflinePushRecord> {

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

    Integer getAdOfflinePushRecordByYearMonth(@Param("yearMonth") String yearMonth);
}
