yanghb
2023-04-10 b2f678ad387ca24e05a11100ea4583f0f2f730f0
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.OrderTaxi;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
public interface OrderTaxiMapper extends BaseMapper<OrderTaxi> {
 
 
 
    /**
     * 获取订单列表
     * @param search
     * @param orderSource
     * @param state
     * @param companyId
     * @param pageNum
     * @param size
     * @return
     */
    List<Map<String, Object>> queryOrderList(@Param("search") String search, @Param("orderSource") List<String> orderSource,
                                             @Param("state") List<String> state, @Param("companyId") Integer companyId,
                                             @Param("pageNum") Integer pageNum, @Param("size") Integer size);
 
 
    /**
     * 获取订单详情
     * @param orderId
     * @return
     */
    Map<String, Object> queryOrderInfo(@Param("orderId") Integer orderId);
 
 
    /**
     * 获取订单数据
     * @param uid
     * @param orderType     1=即时单,2=预约单
     * @param state
     * @return
     */
    List<OrderTaxi> queryByState(@Param("uid") Integer uid, @Param("orderType") Integer orderType,
                                  @Param("type") Integer type, @Param("state") Integer...state);
}