| | |
| | | package org.springblade.modules.grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.doorplateAddress.entity.DoorplateAddressEntity; |
| | | import org.springblade.modules.grid.entity.GridEntity; |
| | | import org.springblade.modules.grid.excel.GridExcel; |
| | | import org.springblade.modules.grid.excel.GridmanExcel; |
| | |
| | | /** |
| | | * 根据用户id(网格员)查询对应的房屋地址code |
| | | * @param userId |
| | | * @param addressCode 地址编码 |
| | | * @return |
| | | */ |
| | | List<String> getAddressCodeListByUserId(Long userId); |
| | | List<String> getAddressCodeListByUserId(Long userId,String addressCode); |
| | | |
| | | /** |
| | | * 空间分析 |
| | | */ |
| | | Object spatialAnalysis(); |
| | | Object spatialAnalysis(DoorplateAddressEntity addressEntity); |
| | | |
| | | /** |
| | | * 空间分析 |
| | | */ |
| | | List<GridEntity> spatialAnalysis(String point); |
| | | |
| | | /** |
| | | * 根据参数查询网格数据 |
| | |
| | | * @return |
| | | */ |
| | | GridEntity getGridByNames(String gridName, String communityName); |
| | | |
| | | /** |
| | | * 查询用户对应的网格编号集合 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<String> getGridListByUserId(Long userId); |
| | | |
| | | /** |
| | | * 查询对应的房屋地址code(更加网格编号集合) |
| | | * @param gridCodeList |
| | | * @return |
| | | */ |
| | | List<String> getAddressCodeListByGridCodeList(String communityCode, List<String> gridCodeList); |
| | | |
| | | /** |
| | | * 根据社区编号及网格编号集合查询对应的网格信息 |
| | | * @param communityCode |
| | | * @param gridCodeList |
| | | * @return |
| | | */ |
| | | List<GridVO> getGridListByComAndList(String communityCode, List<String> gridCodeList); |
| | | |
| | | /** |
| | | * 根据社区名称和网格名称查询对应的网格信息 |
| | | * @param communityName |
| | | * @param gridName |
| | | * @return |
| | | */ |
| | | GridEntity getGridInfoByParam(String communityName, String gridName); |
| | | } |