package com.stylefeng.guns.modular.crossCity.server;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.crossCity.model.Site;
|
import com.stylefeng.guns.modular.crossCity.warpper.SiteWarpper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface ISiteService extends IService<Site> {
|
|
|
/**
|
* 获取所有站点
|
* @return
|
* @throws Exception
|
*/
|
List<SiteWarpper> querySite(Integer startSiteId) throws Exception;
|
|
|
/**
|
* 根据站点获取地点区域数据
|
* @param siteId
|
* @return
|
* @throws Exception
|
*/
|
List<Map<String, Object>> queryLocation(Integer siteId) throws Exception;
|
|
|
/**
|
* 判断坐标点是否在站点范围内
|
* @param siteId
|
* @param code
|
* @param lonLat
|
* @return
|
* @throws Exception
|
*/
|
boolean areaMonitoring(Integer siteId, Integer code, String lonLat) throws Exception;
|
}
|