xuhy
2023-04-03 bec9ef7332b0c0d1afc9b28918748efc63a60bcc
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.stylefeng.guns.modular.system.controller.resp.TOrderResp;
import com.stylefeng.guns.modular.system.controller.resp.TOrderServerResp;
import com.stylefeng.guns.modular.system.model.TOrder;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.ui.Model;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2023-02-15
 */
public interface ITOrderService extends IService<TOrder> {
 
    /**
     * 获取订单列表
     * @param createTime
     * @param code
     * @param source
     * @param userName
     * @param userPhone
     * @param state
     * @param driverName
     * @return
     */
    List<TOrderResp> getOrderList(String createTime, String code, Integer source, String userName, String userPhone, Integer state, String driverName,Integer isException);
 
    /**
     * 跳转详情页面
     * @param orderId
     * @param model
     */
    void orderDetail(Integer orderId, Model model);
 
    /**
     * 跳转异常详情页面
     * @param orderId
     * @param model
     */
    void orderExceptionDetail(Integer orderId, Model model);
 
    /**
     * 订单统计,每年按月份
     * @param agentId
     * @param model
     */
    void getDataStatisticsByYear(Integer agentId,String yearDate, Model model);
 
    /**
     * 单量
     * @param agentId
     * @param monthDate
     * @param model
     */
    void getDataStatisticsOrderCount(Integer agentId, String monthDate, Model model);
 
    /**
     * 查询统计待接单,服务中,已完成,已取消
     * @param agentId
     * @param map
     */
    void getDataStatisticsCount(Integer agentId, Map<String, Integer> map);
 
    /**
     * 查询服务中的订单列表
     * @param agentId
     * @return
     */
    List<TOrderServerResp> getDataStatisticsServerList(Integer agentId);
 
    /**
     * 查询今天所有订单
     * @param agentId
     * @return
     */
    List<TOrder> getDataStatisticsAllList(Integer agentId);
 
}