From 9f8f9d13c42ca8cdccbf351069082a5fdccef2e4 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Mon, 25 Mar 2024 17:30:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/main/java/org/springblade/modules/grid/service/IGridService.java |  105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 105 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..c116ad2 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,104 @@
 	 */
 	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);
 }

--
Gitblit v1.9.3