puzhibing
2022-08-22 1421f8e9c308c4741cb396309035009393b5b036
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.TOrderLogistics;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 订单-小件物流 Mapper 接口
 * </p>
 *
 * @author 吕雪
 * @since 2020-09-24
 */
public interface TOrderLogisticsMapper extends BaseMapper<TOrderLogistics> {
 
    /**
     * 根据条件查询小件物流订单列表
     * @return
     */
    List<Map<String,Object>> getLogisticsOrderList(@Param("page") Page<Map<String, Object>> page,
                                                    @Param("beginTime") String beginTime,
                                                    @Param("endTime") String endTime,
                                                    @Param("roleType") Integer roleType,
                                                    @Param("nowUserId") Integer nowUserId,
                                                    @Param("orderNum") String orderNum,
                                                    @Param("orderSource") Integer orderSource,
                                                    @Param("type") Integer type,
                                                    @Param("userName") String userName,
                                                    @Param("userPhone") String userPhone,
                                                    @Param("recipient") String recipient,
                                                    @Param("recipientPhone") String recipientPhone,
                                                    @Param("driver") String driver,
                                                    @Param("state") Integer state);
 
    /**
     * 根据专车订单ID获取小件物流订单详情
     * @param orderId
     * @return
     */
    Map<String,Object> getLogisticsOrderDetailById(@Param("orderId") Integer orderId);
}