From 8b7258c9427882bb1798f1502eaa35184c6e374e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:29:18 +0800
Subject: [PATCH] 短信指定楼栋发送

---
 src/main/java/org/springblade/modules/grid/service/IGridService.java |  128 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 128 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/grid/service/IGridService.java b/src/main/java/org/springblade/modules/grid/service/IGridService.java
index 7bfdf1a..7754de9 100644
--- a/src/main/java/org/springblade/modules/grid/service/IGridService.java
+++ b/src/main/java/org/springblade/modules/grid/service/IGridService.java
@@ -17,10 +17,16 @@
 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;
 import org.springblade.modules.grid.vo.GridVO;
 import org.springblade.core.mp.base.BaseService;
 import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.modules.place.vo.PlaceVO;
+
+import java.util.List;
 
 /**
  * 网格表 服务类
@@ -39,5 +45,127 @@
 	 */
 	IPage<GridVO> selectGridPage(IPage<GridVO> page, GridVO grid);
 
+	/**
+	 * 网格数导入
+	 * @param data
+	 * @param isCovered
+	 */
+    void importGrid(List<GridExcel> data, Boolean isCovered);
 
+	/**
+	 * 根据地址编号查询网格数据
+	 * @param houseCode
+	 * @return
+	 */
+	GridVO getPlaceGridDetailByHouseCode(String houseCode);
+
+	/**
+	 * 根据用户id(网格员)查询对应的房屋地址code
+	 * @param userId
+	 * @param addressCode 地址编码
+	 * @return
+	 */
+    List<String> getAddressCodeListByUserId(Long userId,String addressCode);
+
+	/**
+	 * 空间分析
+	 */
+	Object spatialAnalysis(DoorplateAddressEntity addressEntity);
+
+	/**
+	 * 空间分析
+	 */
+	List<GridEntity> spatialAnalysis(String point);
+
+	/**
+	 * 根据参数查询网格数据
+	 * @param place
+	 * @return
+	 */
+	GridVO getGridDetailByParam(PlaceVO place);
+
+	/**
+	 * 网格表 自定义详情
+	 * @param grid
+	 * @return
+	 */
+	GridVO getGridDetail(GridVO grid);
+
+	/**
+	 * 网格表 自定义新增或修改
+	 */
+    boolean saveOrUpdateGrid(GridEntity grid);
+
+	/**
+	 * 网格数据同步处理
+	 */
+	Object asyncGridDept();
+
+	/**
+	 * 网格树
+	 * @param grid
+	 * @return
+	 */
+	Object getGridTree(GridVO grid);
+
+    Object gridInfoByHouseCode(String houseCode);
+
+	/**
+	 * 网格集合查询
+	 * @param grid
+	 * @return
+	 */
+	Object getGridList(GridVO grid);
+
+	/**
+	 * 查询小区网格绑定
+	 * @param aoiCode 小区aoiCode
+	 * @return
+	 */
+	List<GridVO> getGridListByAoiCode(String aoiCode);
+
+	/**
+	 * 查询对应网格人对应的网格
+	 * @param userId
+	 * @return
+	 */
+    GridEntity getGridByUserId(Long userId);
+
+	/**
+	 * 根据网格名称,社区名称查询对应的网格
+	 * @param gridName
+	 * @param communityName
+	 * @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);
 }

--
Gitblit v1.9.3