puzhibing
2022-09-12 7da4caa40befd523033b8a1d01246ae468674680
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
32
33
34
35
36
37
38
39
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.Company;
import com.stylefeng.guns.modular.system.model.CompanyCity;
 
public interface ICompanyCityService extends IService<CompanyCity> {
 
 
    /**
     * 根据经纬度获取所属企业
     * @param lon
     * @param lat
     * @return
     * @throws Exception
     */
    Company query(String lon, String lat) throws Exception;
 
 
    Company query1(String lon, String lat) throws Exception;
 
 
    /**
     * 根据行政编号获取所有企业
     * @param code
     * @return
     * @throws Exception
     */
    Company query(String code) throws Exception;
 
 
    /**
     * 根据城市名称获取匹配的企业
     * @param city
     * @return
     * @throws Exception
     */
    Company query(String[] city) throws Exception;
}