puzhibing
2023-02-24 39c58fe1a0469b99bd5ef0a24f6b254693826a18
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
package com.stylefeng.guns.modular.system.service;
 
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.stylefeng.guns.modular.system.controller.resp.TDriverResp;
import com.stylefeng.guns.modular.system.model.TDriver;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.ui.Model;
 
import java.util.List;
 
/**
 * <p>
 * 司机基础信息 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2023-02-20
 */
public interface ITDriverService extends IService<TDriver> {
 
    /**
     * 获取司机分页列表
     * @param createTime
     * @param phone
     * @param status
     * @return
     */
    EntityWrapper<TDriver> getPageList(String createTime, String phone, Integer status);
 
    /**
     * 封装司机放回resp
     * @param tDrivers
     * @return
     */
    List<TDriverResp> getTDriverResp(List<TDriver> tDrivers);
 
    /**
     * 跳转审核页面
     * @param id
     * @param model
     */
    void auditPage(Integer id, Model model);
 
    /**
     * 聚合ocr识别
     * @param imgUrl
     * @return
     */
    JSONObject ocr(String imgUrl);
 
    /**
     * 新增修改处理数据
     * @param tDriver
     */
    void addOrUpdate(TDriver tDriver);
 
    /**
     * 查询佣金列表
     * @param name
     * @param phone
     * @param status
     * @return
     */
    EntityWrapper<TDriver> getCommissionPageList(String name, String phone, Integer status);
 
}