From 63d34fe6dfeb8b3df01d1f3d70a4a0ab8ce69abe Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期五, 14 十月 2022 13:38:25 +0800
Subject: [PATCH] 三说会堂事件操作权限处理
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java | 110 +++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 98 insertions(+), 12 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java
index a82a552..cc0e66b 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java
@@ -1,10 +1,14 @@
package com.panzhihua.service_community.service;
-import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
-import com.panzhihua.common.model.vos.R;
-import com.panzhihua.common.model.vos.community.ComMngVillageVO;
-
import java.util.List;
+
+import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
+import com.panzhihua.common.model.dtos.grid.ComMngVillageListAppDTO;
+import com.panzhihua.common.model.dtos.grid.admin.ComMngVillageListExportAdminDTO;
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.community.ComMngVillageServeExcelVO;
+import com.panzhihua.common.model.vos.community.ComMngVillageVO;
+import com.panzhihua.service_community.model.dos.ComMngVillageDO;
/**
* @author: llming
@@ -13,28 +17,110 @@
public interface ComMngVillageService {
/**
* 添加实有房屋
- * @param comMngVillageVO 实有房屋
+ *
+ * @param comMngVillageVO
+ * 实有房屋
* @return 新增结果
*/
- R addComMngVillage(ComMngVillageVO comMngVillageVO);
+ R addComActVillage(ComMngVillageVO comMngVillageVO);
/**
* 查询实有房屋
- * @param comMngVillageVO 登录人的经纬度、或者指定区域的社区
+ *
+ * @param comMngVillageVO
+ * 登录人的经纬度、或者指定区域的社区
* @return 社区集合
*/
- R listComMngVillage(ComMngVillageVO comMngVillageVO);
+ R listComActVillage(ComMngVillageVO comMngVillageVO);
+
+ /**
+ * 根据房屋id查询实有房屋
+ *
+ * @param villageId
+ * 查询条件
+ * @return 查询结果
+ */
+ ComMngVillageDO getVillageById(Long villageId);
+
/**
* 分页查询实有房屋
- * @param pageComMngVillageDTO 查询参数
+ *
+ * @param pageComMngVillageDTO
+ * 查询参数
* @return 分页集合
*/
- R pageComMngVillage(PageComMngVillageDTO pageComMngVillageDTO);
+ R pageComActVillage(PageComMngVillageDTO pageComMngVillageDTO);
/**
* 删除实有房屋
- * @param Ids 实有房屋ids
+ *
+ * @param Ids
+ * 实有房屋ids
* @return 删除结果
*/
- R delecComMngVillage(List<Long> Ids);
+ R delecComActVillage(List<Long> Ids);
+
+ /**
+ * 批量导入实有房屋
+ *
+ * @param list
+ * @param communityId
+ * @return
+ */
+ R listSaveVillage(List<ComMngVillageServeExcelVO> list, Long communityId);
+
+ /**
+ * 实有房屋编辑
+ *
+ * @param villageId
+ * @param comMngVillageVO
+ * @return
+ */
+ R editVillage(Long villageId, ComMngVillageVO comMngVillageVO);
+
+ /**
+ * 统计社区内小区数量
+ *
+ * @param communityId
+ * 社区id
+ * @return 统计小区数量
+ */
+ R villageStatistics(Long communityId);
+
+ /**
+ * 小区详情
+ *
+ * @param villageId
+ * 小区id
+ * @return 小区详情
+ */
+ R getVillage(Long villageId);
+
+ /**
+ * 小区列表
+ *
+ * @param villageListAppDTO
+ * 请求参数
+ * @return 小区列表
+ */
+ R getGridVillageList(ComMngVillageListAppDTO villageListAppDTO);
+
+
+ R getGridVillageListApp(ComMngVillageListAppDTO villageListAppDTO);
+
+ /**
+ * 小区下楼栋列表
+ *
+ * @param villageId
+ * 小区id
+ * @return 小区下楼栋列表
+ */
+ R getGridVillageBuildingList(Long villageId);
+
+ R delGridVillage(List<Long> villageIds);
+
+ R getGridVillageStatistics();
+
+ R getGridVillageListExport(ComMngVillageListExportAdminDTO villageListAppDTO);
+
}
--
Gitblit v1.7.1