package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.ServerCarModel;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
import com.stylefeng.guns.modular.system.warpper.ServerCarModelWarpper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface IServerCarModelService extends IService<ServerCarModel> {
|
|
|
/**
|
* 根据起点和终点获取车型和金额
|
* @param startLonLat
|
* @param endLonLat
|
* @param type 业务类型
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil<List<ServerCarModelWarpper>> queryServerCarModel(String startLonLat, String endLonLat, Integer type, Integer language) throws Exception;
|
|
|
/**
|
* 获取业务类型对应的所有车型
|
* @param type
|
* @return
|
*/
|
List<Map<String, Object>> queryServerCarModels(Integer type);
|
}
|