puzhibing
2023-02-24 39c58fe1a0469b99bd5ef0a24f6b254693826a18
management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITDriverService.java
@@ -1,8 +1,13 @@
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>
@@ -22,4 +27,41 @@
     * @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);
}