WeGroupStatisticMapper.java
1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.linkwechat.wecom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeGroupStatistic;
import com.linkwechat.wecom.domain.dto.WePageCountDto;
import com.linkwechat.wecom.domain.query.WePageStateQuery;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 群聊数据统计数据
Mapper接口
*
* @author ruoyi
* @date 2021-02-24
*/
public interface WeGroupStatisticMapper extends BaseMapper<WeGroupStatistic> {
/**
* 按日期查询当天数据统计结果
* @param dateTime
* @return WeUserBehaviorDataDto
*/
public WePageCountDto getCountDataByDay(@Param("dateTime") String dateTime, @Param("type") String type);
/**
* 按天维度查询数据统计
* @param wePageStateQuery 入参
* @return List<WeUserBehaviorDataDto>
*/
public List<WePageCountDto> getDayCountData(WePageStateQuery wePageStateQuery);
/**
* 按周维度查询数据统计
* @param wePageStateQuery 入参
* @return List<WeUserBehaviorDataDto>
*/
public List<WePageCountDto> getWeekCountData(WePageStateQuery wePageStateQuery);
/**
* 按月维度查询数据统计
* @param wePageStateQuery 入参
* @return List<WeUserBehaviorDataDto>
*/
public List<WePageCountDto> getMonthCountData(WePageStateQuery wePageStateQuery);
}