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.StatisticsAdClickMobileDto;
import com.sptg.statistics.api.entity.StatisticsAdClickMobile;
import org.springframework.scheduling.annotation.Async;
import org.springframework.transaction.annotation.Transactional;

/**
 * title: StatisticsAdClickMobileServiceInterface
 * package: com.sptg.statistics.biz.service
 * description:
 *
 *                
 *               
 */
public interface StatisticsAdClickMobileServiceInterface extends IService<StatisticsAdClickMobile> {

    /**
     * 功能描述:移动端广告点击分类排行
     * @param pageBean 分页条件
     * @return Page<StatisticsAdClickMobile>
     *                
     *                     
     */
    Page<StatisticsAdClickMobile> showAdRankList(PageBean<StatisticsAdClickMobile, StatisticsAdClickMobileDto> pageBean);

    /**
     * 功能描述:添加移动端广告点击记录
     * @param adClickMobile
     * @return void
     *                
     *                      
     */
    @Async
    @Transactional(rollbackFor = Exception.class)
    void addAdClickMobile(StatisticsAdClickMobile adClickMobile);
}
