xuhy
2023-08-11 7a8c46e7acecf0a0275e36f27623ed44db7451fc
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.Site;
import com.stylefeng.guns.modular.system.warpper.SiteWarpper;
 
import java.util.List;
import java.util.Map;
 
public interface ISiteService extends IService<Site> {
 
 
    /**
     * 获取所有站点
     * @return
     * @throws Exception
     */
    List<SiteWarpper> querySite(Integer startSiteId, Integer uid) 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;
}