From a218ccaadff80203bcf82f251f0d448449858ac5 Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期五, 02 四月 2021 09:41:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   64 ++++++++++++++++++++------------
 1 files changed, 40 insertions(+), 24 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index a0fe827..f80e559 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -1482,8 +1482,8 @@
     /**
      * 查询省下所有区域  tree结构
      *
-     * @param provinceAdcode
-     * @return
+     * @param provinceAdcode    省份code
+     * @return  查询结果
      */
     @GetMapping("/common/data/area/all")
     R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode);
@@ -1491,8 +1491,8 @@
     /**
      * 分页查询街道
      *
-     * @param pageComStreetDTO
-     * @return
+     * @param pageComStreetDTO  查询条件
+     * @return  查询结果
      */
     @PostMapping("/pagestreet")
     R pageStreet(@RequestBody PageComStreetDTO pageComStreetDTO);
@@ -1500,8 +1500,8 @@
     /**
      * 新增街道
      *
-     * @param comStreetVOO
-     * @return
+     * @param comStreetVOO  需要新增的街道数据
+     * @return  新增结果
      */
     @PostMapping("/addstreet")
     R pageStreet(@RequestBody ComStreetVO comStreetVOO);
@@ -1509,8 +1509,8 @@
     /**
      * 删除街道
      *
-     * @param Ids
-     * @return
+     * @param Ids   需要删除街道id集合
+     * @return  删除结果
      */
     @PostMapping("/deletestreet")
     R delectStreat(@RequestBody List<Long> Ids);
@@ -1518,8 +1518,8 @@
     /**
      * 查询街道
      *
-     * @param comStreetVO
-     * @return
+     * @param comStreetVO   查询条件
+     * @return  返回结果
      */
     @PostMapping("/liststreet")
     R listStreet(ComStreetVO comStreetVO);
@@ -1527,8 +1527,8 @@
     /**
      * 分页查询实有房屋
      *
-     * @param pageComMngVillageDTO
-     * @return
+     * @param pageComMngVillageDTO  查询条件
+     * @return  返回结果
      */
     @PostMapping("/pagevillage")
     R pageVillage(@RequestBody PageComMngVillageDTO pageComMngVillageDTO);
@@ -1536,8 +1536,8 @@
     /**
      * 新增实有房屋
      *
-     * @param comMngVillageVO
-     * @return
+     * @param comMngVillageVO   新增的实有房屋数据
+     * @return  新增结果
      */
     @PostMapping("/addvillage")
     R addVillage(@RequestBody ComMngVillageVO comMngVillageVO);
@@ -1545,8 +1545,8 @@
     /**
      * 删除实有房屋
      *
-     * @param Ids
-     * @return
+     * @param Ids   需要删除的id集合
+     * @return  删除结果
      */
     @PostMapping("/deletevillage")
     R delectVillage(@RequestBody List<Long> Ids);
@@ -1554,8 +1554,8 @@
     /**
      * 查询实有房屋
      *
-     * @param comMngVillageVO
-     * @return
+     * @param comMngVillageVO   查询条件
+     * @return  查询结果
      */
     @PostMapping("/listvillage")
     R listVillage(ComMngVillageVO comMngVillageVO);
@@ -1563,9 +1563,9 @@
     /**
      * 批量导入实有房屋
      *
-     * @param list
-     * @param communityId
-     * @return
+     * @param list  实有房屋数据
+     * @param communityId   社区id
+     * @return  导入结果
      */
     @PostMapping("/village/import")
     R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, @RequestParam(value = "communityId") Long communityId);
@@ -1574,9 +1574,9 @@
     /**
      * 批量导入实有人口
      *
-     * @param list
-     * @param communityId
-     * @return
+     * @param list  实有人口数据
+     * @param communityId   社区id
+     * @return  导入结果
      */
     @PostMapping("/common/data/population/import")
     R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId);
@@ -1617,4 +1617,20 @@
     @PostMapping("/common/data/population/delete")
     R deletePopulations(@RequestBody List<Long> Ids);
 
+    /**
+     * 根据社区id查询所有实有人口
+     * @param communityId   社区id
+     * @return  查询结果
+     */
+    @PostMapping("/common/data/population/getAll")
+    R getPopulationListByCommunityId(@RequestParam(value = "communityId") Long communityId);
+
+    /**
+     * 根据id集合查询实有人口
+     * @param Ids   实有人口id集合
+     * @return  查询结果
+     */
+    @PostMapping("/common/data/population/getList")
+    R getPopulationLists(@RequestBody List<Long> Ids);
+
 }

--
Gitblit v1.7.1