xuhy
2023-08-11 7a8c46e7acecf0a0275e36f27623ed44db7451fc
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.Reassign;
import com.stylefeng.guns.modular.system.util.ResultUtil;
 
import java.util.List;
import java.util.Map;
 
public interface IReassignService extends IService<Reassign> {
 
 
    /**
     * 调度端更换司机执行改派操作
     * @param driverId
     * @param orderIds
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil dispatchReassign(Integer lineShiftId, String time, Integer driverId, String orderIds, Integer uid) throws Exception;
 
 
    /**
     * 获取提交改派申请的数据
     * @param uid
     * @param pageNum
     * @param size
     * @return
     */
    List<Map<String, Object>> queryApplyReassignList(Integer state, Integer uid, Integer pageNum, Integer size) throws Exception;
 
 
    /**
     * 获取改派详情
     * @param id
     * @return
     * @throws Exception
     */
    Map<String, Object> queryReassignInfo(Integer id) throws Exception;
 
 
    /**
     * 取消改派请求
     * @param id
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil cancelReassign(Integer id, Integer uid) throws Exception;
 
 
 
    /**
     * 拒绝改派请求
     * @param id
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil refuseReassign(Integer id, Integer uid) throws Exception;
 
 
    /**
     * 执行改派操作
     * @param id
     * @param driverId
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil executeReassign(Integer id, Integer driverId, Integer uid) throws Exception;
 
}