package cn.chnmuseum.party.mapper;
import cn.chnmuseum.party.model.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import java.util.List;
import java.util.Map;
/**
*
* 展板统计信息表 Mapper 接口
*
*
* @author Danny Lee
* @since 2021-03-25
*/
@Mapper
public interface TBoardStatisticMapper extends BaseMapper {
public List getBoardRankPageList(Page page, TBoardPlayRank rank);
public List getBoardTrendPageList(Page page, TBoardPlayTrend trend);
// /**
// * 获取展板播放趋势 去掉数据库分页查询
// *
// * @param
// * @param trend
// * @return
// */
// public List getBoardTrendPageList(@Param("trend") TBoardPlayTrend trend);
public List getBoardDistrictPageList(Page page, TDistrictBoardStatistic district);
/**
* 获取展板播放总量
*
* @param survey
* @return
*/
Integer getBoardPlayTotal(TBoardSurvey survey);
/**
* 获取展板总量
*
* @param survey
* @return
*/
Integer getBoardTotal(TBoardSurvey survey);
/**
* 获取播放展板的机构总量
*
* @param survey
* @return
*/
Integer getOrganTotal(TBoardSurvey survey);
/**
* 获取互动总量
*
* @param survey
* @return
*/
Integer getInteractionTotal(TBoardSurvey survey);
List