puzhibing
2023-03-15 79962435853baf5a28e08461f46a831fffa1a4b0
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
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;
 
 
    /**
     * 根据行政编号获取所有企业
     * @param code
     * @return
     * @throws Exception
     */
    Company query(String code) throws Exception;
}