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;
|
}
|