package com.sptg.statistics.biz.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.sptg.common.core.beans.PageBean;
import com.sptg.statistics.api.dto.StatisticsAdPlayFreeTimeDto;
import com.sptg.statistics.api.entity.StatisticsAdPlayFreeTime;

/**
 * title: StatisticsAdPlayFreeTimeServiceInterface
 * package: com.sptg.statistics.biz.service
 * description:闲时广告播放-服务层接口
 *
 *                
 *               
 */
public interface StatisticsAdPlayFreeTimeServiceInterface extends IService<StatisticsAdPlayFreeTime> {
    /**
     * 功能描述:闲时广告播放分类排行
     * @param pageBean
     * @return Page<StatisticsAdPlayFreeTime>
     *                
     *                     
     */
    Page<StatisticsAdPlayFreeTime> showAdRankList(PageBean<StatisticsAdPlayFreeTime, StatisticsAdPlayFreeTimeDto> pageBean);

    /**
     * 功能描述:根据条件获取闲时广告播放次数
     * @param dto
     * @return long
     *                
     *                      
     */
    long getAdPlayCount(StatisticsAdPlayFreeTimeDto dto);
}
