package com.dsh.course.feignClient.driver;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.dsh.course.feignClient.account.model.GetUserInfoByNameOrPhone;
|
import com.dsh.course.feignClient.activity.model.DriverNameReq;
|
import com.dsh.course.feignClient.activity.model.DriverNameRes;
|
import com.dsh.course.feignClient.activity.model.QueryOnlineDriverReq;
|
import com.dsh.course.feignClient.activity.model.SelectCountReq;
|
import com.dsh.course.feignClient.driver.model.*;
|
import com.dsh.guns.modular.system.model.Driver;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
import java.util.Map;
|
|
@FeignClient(value = "mb-cloud-driver")
|
public interface DriverClient {
|
|
/**
|
* 获取司机详情
|
* @param id
|
* @return
|
*/
|
@PostMapping("/driver/getDriver")
|
DriverInfoRes getDriver(Integer id);
|
|
|
/**
|
* 修改司机数据
|
* @param req
|
*/
|
@PostMapping("/driver/updateDriver")
|
void updateDriver(DriverInfoReq req);
|
|
@PostMapping("/driver/selectList")
|
List<Driver> selectList(QueryWrapper<Driver> ne1);
|
|
|
@PostMapping("/driver/selectCount")
|
int selectCount(DriverSelectCountReq ne4);
|
|
|
@PostMapping("/driver/getAuthDriverList")
|
Page<Map<String, Object>> getAuthDriverList(QueryAuthDriverReq req);
|
|
@PostMapping("/driver/getDriverList")
|
Page<Map<String, Object>> getDriverList(QueryDriverListReq req);
|
|
|
@PostMapping("/driver/getDriverListNoPage")
|
List<Map<String, Object>> getDriverListNoPage( QueryDriverNoPageReq req);
|
|
|
@PostMapping("/driver/insert")
|
Integer insert(Driver driver);
|
|
|
@PostMapping("/driver/getCanSelectCarList")
|
List<Map<String, Object>> getCanSelectCarList(QueryCanselectCarReq req);
|
|
|
@PostMapping("/driver/getDriverName")
|
List<DriverNameRes> getDriverName(DriverNameReq req);
|
|
@PostMapping("/driver/getdriverFromName")
|
List<Driver> getdriverFromName(String driverName);
|
|
@PostMapping("/driver/getDriverInfoByNameOrPhone")
|
List<Map<String, Object>> getDriverInfoByNameOrPhone(GetUserInfoByNameOrPhone phone);
|
|
@PostMapping("/driver/getDriverService")
|
List<DriverService> getDriverService(Integer tDriverId);
|
|
@PostMapping("/driver/queryOnlineDriverCount")
|
int queryOnlineDriverCount(SelectCountReq req);
|
|
|
@PostMapping("/driver/queryOnlineDriver")
|
Map<String, Object> queryOnlineDriver( QueryOnlineDriverReq req);
|
|
|
|
@PostMapping("/driver/getStateList")
|
List<Driver> getStateList();
|
|
|
@PostMapping("/driver/selectList1")
|
List<Driver> selectList1(Integer companyId);
|
@PostMapping("/driver/withholding")
|
void withholding(WithholdingDto withholdingDto);
|
@PostMapping("/driver/getWithholding")
|
BigDecimal getWithholding();
|
|
@PostMapping("/driver/getWithoutList")
|
Page<WithoutListVo> getWithoutList(WithoutListReq withoutListReq);
|
|
@PostMapping("/driver/getGroupConcat")
|
String getGroupConcat(Integer nowUserId);
|
|
|
}
|