package com.supersavedriving.user.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.supersavedriving.user.modular.system.model.Driver;
|
import com.supersavedriving.user.modular.system.util.ResultUtil;
|
import com.supersavedriving.user.modular.system.warpper.DriverRegisterWarpper;
|
import com.supersavedriving.user.modular.system.warpper.NearbyDriverWarpper;
|
|
import java.util.List;
|
|
/**
|
* 司机
|
* @author pzb
|
* @Date 2023/2/8 18:52
|
*/
|
public interface IDriverService extends IService<Driver> {
|
|
|
/**
|
* 获取5公里范围内的司机坐标
|
* @return
|
* @throws Exception
|
*/
|
List<NearbyDriverWarpper> queryDriverPosition(String lon, String lat, Double scope) throws Exception;
|
|
|
|
/**
|
* 司机注册
|
* @param driverRegisterWarpper
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil driverRegister(Integer uid, DriverRegisterWarpper driverRegisterWarpper) throws Exception;
|
}
|