From 50e1eb020efe8da670b718d865fa4c1eaa61ee7d Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 20 五月 2021 19:51:09 +0800
Subject: [PATCH] 修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 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 1b902ea..4721989 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
@@ -2,7 +2,6 @@
 
 import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
 import com.panzhihua.common.model.vos.R;
-import com.panzhihua.common.model.vos.community.ComMngCarExcelVO;
 import com.panzhihua.common.model.vos.community.ComMngVillageServeExcelVO;
 import com.panzhihua.common.model.vos.community.ComMngVillageVO;
 import com.panzhihua.service_community.service.ComMngVillageService;
@@ -71,9 +70,10 @@
         return R.ok(r);
     }
 
+
     /**
      * 社区后台导入实有房屋
-     * @param list 车辆列表
+     * @param list 数据
      * @param communityId 社区编号
      * @return
      */
@@ -83,4 +83,15 @@
         return comMngVillageService.listSaveVillage(list,communityId);
     }
 
+
+    /**
+     * 编辑实有房屋
+     * @param villageId 动态id
+     * @return 删除结果
+     */
+    @PostMapping("editvillage/{villageId}")
+    @Transactional(rollbackFor = Exception.class)
+    public R editvillage(@PathVariable("villageId")Long villageId,@Valid @RequestBody ComMngVillageVO comMngVillageVO) {
+        return comMngVillageService.editVillage(villageId,comMngVillageVO);
+    }
 }

--
Gitblit v1.7.1