puzhibing
2023-05-18 53562814add61acfdc02d6b25dae6324f6fd5f92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
}