puzhibing
2023-05-25 380c0e958fbc3f2b42a3e38ae5dc9af3254b8f5c
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
package com.agentdriving.user.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.agentdriving.user.modular.system.model.Order;
import com.agentdriving.user.modular.system.warpper.NotInvoiceOrder;
import com.agentdriving.user.modular.system.warpper.OrderInfoWarpper;
import com.agentdriving.user.modular.system.warpper.OrderListWarpper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface OrderMapper extends BaseMapper<Order> {
 
 
    /**
     * 获取订单详情
     * @param uid
     * @param orderId
     * @return
     */
    OrderInfoWarpper queryOrderInfo(@Param("uid") Integer uid, @Param("orderId") Long orderId);
 
 
    /**
     * 获取乘客行程订单
     * @param uid
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<OrderListWarpper> queryMyOrder(@Param("uid") Integer uid, @Param("pageNum") Integer pageNum,
                                        @Param("pageSize") Integer pageSize);
 
 
    /**
     * 获取未开票订单
     * @param uid
     * @return
     */
    List<OrderListWarpper> queryNotInvoiceOrder(@Param("uid") Integer uid, @Param("notInvoiceOrder") NotInvoiceOrder notInvoiceOrder);
}