From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +0800
Subject: [PATCH] 随手拍改版接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVillageService.java |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 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 4fafe96..f1439de 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,9 +1,15 @@
 package com.panzhihua.service_community.service;
 
 import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
+import com.panzhihua.common.model.dtos.grid.ComMngVillageListAppDTO;
+import com.panzhihua.common.model.dtos.grid.PageComMngVillageBuildHouseAppDTO;
+import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationListDTO;
+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;
+import org.springframework.web.bind.annotation.PostMapping;
 
 import java.util.List;
 
@@ -25,6 +31,14 @@
      * @return 社区集合
      */
     R listComActVillage(ComMngVillageVO comMngVillageVO);
+
+    /**
+     * 根据房屋id查询实有房屋
+     *
+     * @param villageId 查询条件
+     * @return 查询结果
+     */
+    ComMngVillageDO getVillageById(Long villageId);
 
     /**
      * 分页查询实有房屋
@@ -55,4 +69,39 @@
      * @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);
+
+    /**
+     * 小区下楼栋列表
+     * @param villageId 小区id
+     * @return  小区下楼栋列表
+     */
+    R getGridVillageBuildingList(Long villageId);
+
+    R delGridVillage(List<Long> villageIds);
+
+    R getGridVillageStatistics();
+
+    R getGridVillageListExport(ComMngVillageListExportAdminDTO villageListAppDTO);
+
 }

--
Gitblit v1.7.1