xiangpei
7 天以前 288ce585418550bbf2fd898fc01bc2ff9245f960
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
45
46
47
48
49
50
51
52
53
54
55
package cn.lili.modules.statistics.service;
 
import cn.lili.modules.statistics.entity.dto.GoodsStatisticsQueryParam;
import cn.lili.modules.statistics.entity.dto.StatisticsQueryParam;
import cn.lili.modules.statistics.entity.vo.*;
 
import java.util.List;
 
/**
 * 首页统计数据业务层
 *
 * @author Bulbasaur
 * @since 2020/12/15 17:57
 */
public interface IndexStatisticsService {
 
    /**
     * 获取首页统计数据
     *
     * @return 运营后台首页统计数据
     */
    IndexStatisticsVO indexStatistics();
 
    /**
     * 商家首页统计数据
     *
     * @return 商家后台首页统计数据
     */
    StoreIndexStatisticsVO storeIndexStatistics();
 
    /**
     * 消息通知
     *
     * @return 通知内容
     */
    IndexNoticeVO indexNotice();
 
    /**
     * 查询热卖商品TOP10
     *
     * @param statisticsQueryParam 商品统计查询参数
     * @return 热卖商品TOP10
     */
    List<GoodsStatisticsDataVO> goodsStatistics(GoodsStatisticsQueryParam statisticsQueryParam);
 
    /**
     * 查询热卖店铺TOP10
     * @param statisticsQueryParam 统计查询参数
     *
     * @return 当月的热卖店铺TOP10
     */
    List<StoreStatisticsDataVO> storeStatistics(StatisticsQueryParam statisticsQueryParam);
 
 
}