| | |
| | | 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.TDriverCommissionResp; |
| | | 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.io.File; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | void auditPage(Integer id, Model model); |
| | | |
| | | /** |
| | | * 跳转详情页面 |
| | | * 聚合ocr识别 |
| | | * @param file |
| | | * @return |
| | | */ |
| | | JSONObject ocr(File file); |
| | | |
| | | /** |
| | | * 新增修改处理数据 |
| | | * @param tDriver |
| | | */ |
| | | Object addOrUpdate(TDriver tDriver); |
| | | |
| | | /** |
| | | * 查询佣金列表 |
| | | * @param name |
| | | * @param phone |
| | | * @param status |
| | | * @return |
| | | */ |
| | | EntityWrapper<TDriver> getCommissionPageList(String name, String phone, Integer status); |
| | | |
| | | /** |
| | | * 封装佣金集合 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | List<TDriverCommissionResp> getTDriverCommissionResp(List<TDriver> list); |
| | | |
| | | /** |
| | | * 佣金详情 |
| | | * @param tDriverId |
| | | * @param model |
| | | */ |
| | | void detail(Integer tDriverId, Model model); |
| | | void driverCommissionDetail(Integer tDriverId,Integer levelFlag, Model model); |
| | | |
| | | /** |
| | | * 统计司机数 |
| | | * @param agentId |
| | | * @param model |
| | | */ |
| | | void getDataStatistics(Integer agentId, Model model, Map<String, Object> map); |
| | | |
| | | /** |
| | | * 统计司机数 |
| | | * @param ids |
| | | * @param model |
| | | * @param map |
| | | */ |
| | | void getDataStatisticsByIds(List<Integer> ids, Model model, Map<String, Object> map); |
| | | } |