From 2e4fa08c4bfff6eea817bbaffacec812cbe25ea6 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 07 十二月 2021 10:52:47 +0800
Subject: [PATCH] 修改bug
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngStructAreaService.java | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 109 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngStructAreaService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngStructAreaService.java
new file mode 100644
index 0000000..203778d
--- /dev/null
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngStructAreaService.java
@@ -0,0 +1,109 @@
+package com.panzhihua.service_community.service;
+
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.community.ComMngStructAreaVO;
+
+/**
+ * @program: springcloud_k8s_panzhihuazhihuishequ
+ * @description: 小区
+ * @author: huang.hongfa weixin hhf9596 qq 959656820
+ * @create: 2020-12-15 15:48
+ **/
+public interface ComMngStructAreaService {
+ /**
+ * 新增小区
+ *
+ * @param comMngStructAreaVO
+ * 小区信息
+ * @return 新增结果
+ */
+ @PostMapping("addarea")
+ R addArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO);
+
+ /**
+ * 分页查询小区
+ *
+ * @param comMngStructAreaVO
+ * 查询参数
+ * @return 分页结果
+ */
+ @PostMapping("pagearea")
+ R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO);
+
+ /**
+ * 编辑小区
+ *
+ * @param comMngStructAreaVO
+ * 编辑内容
+ * @return 编辑结果
+ */
+ R putArea(ComMngStructAreaVO comMngStructAreaVO);
+
+ /**
+ * 删除小区
+ *
+ * @param comMngStructAreaVO
+ * 地址编码
+ * @return 删除结果
+ */
+ R deleteArea(ComMngStructAreaVO comMngStructAreaVO);
+
+ /**
+ * 查询小区信息
+ *
+ * @param areaCode
+ * 小区地址编码
+ * @return 小区信息
+ */
+ R selectAreaByAreaCode(String areaCode);
+
+ /**
+ * 获取小区的地址编码
+ *
+ * @param areaId
+ * 小区id
+ * @return 小区地址编码
+ */
+ R selectAreaById(Long areaId);
+
+ /**
+ * 查询小区
+ *
+ * @param communityId
+ * 社区id
+ * @return 小区集合
+ */
+ R listArea(Long communityId);
+
+ /**
+ * 小区详情
+ *
+ * @param areaId
+ * 小区id
+ * @return 小区信息
+ */
+ R detailArea(Long areaId);
+
+ /**
+ * 选择导入的小区
+ *
+ * @param param
+ * 小区名字 模糊查询
+ * @param communityId
+ * 社区id
+ * @return 小区集合 ComMngStructAreaVO
+ */
+ R listAreas(String param, Long communityId);
+
+ /**
+ * 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则
+ *
+ * @param id
+ * 小区id
+ * @return ComMngStructAreaVO
+ */
+ R checkAreaHouse(Long id);
+}
--
Gitblit v1.7.1