From 5a8a90c095280fbd2106869ecd2bad10e01a57a6 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 23 十二月 2021 18:10:22 +0800
Subject: [PATCH] 12/23  大屏修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
index 0d74d92..17ffa5d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
@@ -5,6 +5,9 @@
 import javax.annotation.Resource;
 import javax.validation.Valid;
 
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.panzhihua.service_community.dao.ComMngBuildingDAO;
+import com.panzhihua.service_community.model.dos.ComMngBuildingDO;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
 
@@ -40,6 +43,8 @@
     private ComMngPopulationHouseUserService comMngPopulationHouseUserService;
     @Resource
     private ComMngPopulationService comMngPopulationService;
+    @Resource
+    private ComMngBuildingDAO comMngBuildingDAO;
 
     /**
      * 新增实有房屋
@@ -263,4 +268,9 @@
         return comMngVillageService.getGridVillageListExport(villageListAppDTO);
     }
 
+    @GetMapping("/building/query")
+    public R queryBuilding(@RequestParam("communityId")Long communityId){
+        return R.ok(comMngBuildingDAO.select(communityId));
+    }
+
 }

--
Gitblit v1.7.1