package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.Car;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
public interface ICarService extends IService<Car> {
|
|
|
/**
|
* 获取车辆列表
|
* @param uid
|
* @return
|
* @throws Exception
|
*/
|
List<Map<String, Object>> queryCarList(Integer uid) throws Exception;
|
|
|
/**
|
* 获取车辆详情
|
* @param id
|
* @return
|
* @throws Exception
|
*/
|
Map<String, Object> queryCarInfo(Integer id) throws Exception;
|
|
|
/**
|
* 重新绑定/解绑 车辆
|
* @param id
|
* @param driverId
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil rebindDriver(Integer id, Integer driverId) throws Exception;
|
}
|