xuhy
2024-09-05 8c2128317af3e5a2df32150f3684167925ee4508
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.ruoyi.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.domain.TOrderMeal;
import com.ruoyi.system.query.TDataGeneratorMealQuery;
import com.ruoyi.system.query.TDataStatisticsQuery;
import com.ruoyi.system.query.TOrderMealQuery;
import com.ruoyi.system.vo.*;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 餐饮订单 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-14
 */
public interface TOrderMealMapper extends BaseMapper<TOrderMeal> {
 
    /**
     * 查询餐饮分页列表
     * @param query
     * @param pageInfo
     * @return
     */
    List<TOrderMealVO> pageList(@Param("query") TOrderMealQuery query, @Param("pageInfo")PageInfo<TOrderMealVO> pageInfo);
 
    /**
     * 查询餐饮金额统计
     * @param query
     * @return
     */
    AmountSumVO amountSum(@Param("query")TOrderMealQuery query);
 
 
    /**
     * 销售额统计
     * @param query
     * @return
     */
    SalesVolumeVO salesVolume(@Param("query")TDataStatisticsQuery query);
 
    /**
     * 导出餐饮列表
     * @param query
     * @return
     */
    List<TOrderMealVO> exportOrderMeal(@Param("query")TOrderMealQuery query);
 
    /**
     * 查询下单趋势
     * @param query
     * @return
     */
    List<OrderTrendsVO> orderingTrends(@Param("query")TDataStatisticsQuery query);
 
    /**
     * 查询接待人数统计
     * @param query
     * @return
     */
    List<PersonnelStatisticsVO> personnelStatistics(@Param("query")TDataStatisticsQuery query);
 
    /**
     * 数据生成分页列表
     * @param query
     * @param pageInfo
     * @return
     */
    List<TOrderMealVO> pageListGenerator(@Param("query")TDataGeneratorMealQuery query, @Param("pageInfo")PageInfo<TOrderMealVO> pageInfo);
 
    /**
     * 查询餐饮数据生成详情金额统计
     * @param query
     * @return
     */
    Map<String, BigDecimal> getDataGeneratorMealDetail(@Param("query")TDataGeneratorMealQuery query);
 
    /**
     * 导出餐饮数据生成详情
     * @param query
     * @return
     */
    List<TOrderMealVO> mealGeneratorExport(@Param("query")TDataGeneratorMealQuery query);
}