TBoardStatisticMapper.java 1.86 KB
Newer Older
liqin's avatar
liqin committed
1
package cn.chnmuseum.party.mapper;
yangtianyou's avatar
yangtianyou committed
2

liqin's avatar
liqin committed
3
import cn.chnmuseum.party.model.*;
yangtianyou's avatar
yangtianyou committed
4 5 6 7 8 9
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;
yangtianyou's avatar
yangtianyou committed
10
import java.util.Map;
yangtianyou's avatar
yangtianyou committed
11 12 13 14 15 16 17 18 19 20 21 22

/**
 * <pre>
 * 展板统计信息表 Mapper 接口
 * </pre>
 *
 * @author Danny Lee
 * @since 2021-03-25
 */
@Mapper
public interface TBoardStatisticMapper extends BaseMapper<TBoardStatistic> {

23
    public List<TBoardPlayRank> getBoardRankPageList(Page<TBoardPlayRank> page, TBoardPlayRank rank);
yangtianyou's avatar
yangtianyou committed
24

25
    public  List<TBoardPlayTrend> getBoardTrendPageList(Page<TBoardPlayTrend> page, TBoardPlayTrend trend);
yangtianyou's avatar
yangtianyou committed
26

27 28 29 30 31 32 33 34
//    /**
//     * 获取展板播放趋势  去掉数据库分页查询
//     *
//     * @param
//     * @param trend
//     * @return
//     */
//    public List<TBoardPlayTrend> getBoardTrendPageList(@Param("trend") TBoardPlayTrend trend);
35 36

    public List<TDistrictBoardStatistic> getBoardDistrictPageList(Page<TDistrictBoardStatistic> page, TDistrictBoardStatistic district);
yangtianyou's avatar
yangtianyou committed
37 38 39

    /**
     * 获取展板播放总量
40
     *
yangtianyou's avatar
yangtianyou committed
41 42 43 44 45 46 47
     * @param survey
     * @return
     */
    Integer getBoardPlayTotal(TBoardSurvey survey);

    /**
     * 获取展板总量
48
     *
yangtianyou's avatar
yangtianyou committed
49 50 51 52
     * @param survey
     * @return
     */
    Integer getBoardTotal(TBoardSurvey survey);
53

yangtianyou's avatar
yangtianyou committed
54 55
    /**
     * 获取播放展板的机构总量
56
     *
yangtianyou's avatar
yangtianyou committed
57 58 59 60 61 62 63
     * @param survey
     * @return
     */
    Integer getOrganTotal(TBoardSurvey survey);

    /**
     * 获取互动总量
64
     *
yangtianyou's avatar
yangtianyou committed
65 66 67 68 69
     * @param survey
     * @return
     */
    Integer getInteractionTotal(TBoardSurvey survey);

70
    List<Map> getInteractionFrequency(Page page, @Param("frequencyDate") String frequencyDate, @Param("orgCode") String orgCode);
yangtianyou's avatar
yangtianyou committed
71

wzp's avatar
wzp committed
72
    List<TBoardPlayTrend> getBoardPageList(Page<TBoardPlayTrend> page, TBoardPlayTrend trend);
yangtianyou's avatar
yangtianyou committed
73
}