liujie
2023-08-16 db7fa6a91b9534ac90e219b6f554c54c43c83a5a
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
package com.supersavedriving.driver.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.supersavedriving.driver.modular.system.model.YouTuiDriver;
import com.supersavedriving.driver.modular.system.util.ResultUtil;
import com.supersavedriving.driver.modular.system.warpper.DriverYouTuiListWarpper;
import com.supersavedriving.driver.modular.system.warpper.DriverYouTuiWarpper;
 
import java.util.List;
 
public interface IYouTuiDriverService extends IService<YouTuiDriver> {
 
 
    /**
     * 获取司机兑换优推记录
     * @param driverId
     * @return
     * @throws Exception
     */
    List<DriverYouTuiListWarpper> queryDriverYouTuiList(Integer driverId) throws Exception;
 
 
    List<DriverYouTuiWarpper> queryDriverYouTuiList1(Integer driverId) throws Exception;
 
 
 
    /**
     * 获取司机优推列表
     * @param driverId
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    List<DriverYouTuiWarpper> queryDriverYouTui(Integer driverId, Integer pageNum, Integer pageSize) throws Exception;
 
 
    /**
     * 获取优推数据
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    List<DriverYouTuiWarpper> queryAllYouTui(Integer pageNum, Integer pageSize) throws Exception;
 
 
    /**
     * 司机兑换优推数据
     * @param driverId
     * @param id
     * @return
     * @throws Exception
     */
    ResultUtil redeemBenefits(Integer driverId, Integer id) throws Exception;
 
 
    /**
     * 修改状态
     * @throws Exception
     */
    void editState() throws Exception;
}