From cc7d28f6a5df2dedb6d27f436e99c48df6c267b4 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 14 三月 2022 17:48:41 +0800
Subject: [PATCH] 党建bug修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java
new file mode 100644
index 0000000..6f93ef5
--- /dev/null
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java
@@ -0,0 +1,116 @@
+package com.panzhihua.service_community.service;
+
+import com.panzhihua.common.model.dtos.community.PageComActDTO;
+import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO;
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.community.ComActVO;
+
+/**
+ * @program: springcloud_k8s_panzhihuazhihuishequ
+ * @description: 社区
+ * @author: huang.hongfa weixin hhf9596 qq 959656820
+ * @create: 2020-12-15 10:13
+ **/
+public interface ComActService {
+ /**
+ * 新增社区
+ *
+ * @param comActVO
+ * 社区信息
+ * @return 新增结果
+ */
+ R addCommunity(ComActVO comActVO);
+
+ /**
+ * 编辑社区
+ *
+ * @param comActVO
+ * 编辑内容
+ * @return 编辑结果
+ */
+ R putCommunity(ComActVO comActVO);
+
+ /**
+ * 查询社区
+ *
+ * @param comActVO
+ * 登录人的经纬度、或者指定区域的社区
+ * @return 社区集合
+ */
+ R listCommunity(ComActVO comActVO);
+
+ /**
+ * 社区详情
+ *
+ * @param communityId
+ * 社区id
+ * @return 社区详情
+ */
+ R detailCommunity(Long communityId);
+
+ /**
+ * 分页查询社区
+ *
+ * @param pageComActDTO
+ * 查询参数
+ * @return 分页集合
+ */
+ R pageCommunity(PageComActDTO pageComActDTO);
+
+ /**
+ * 查询平台所有的社区
+ *
+ * @return 社区集合 按照创建顺序倒序排列
+ */
+ R listCommunityAll(String areaCode);
+
+ /**
+ * 删除社区
+ *
+ * @param communityId
+ * 社区id
+ * @return 删除结果
+ */
+ R delectCommunity(Long communityId);
+
+ /**
+ * 综治后台-查询社区列表
+ *
+ * @return 社区列表
+ */
+ R getCommunityLists();
+
+ /**
+ * 查询西区社区列表
+ *
+ * @return 社区列表
+ */
+ R getWestCommunityLists(String areaCode);
+
+ /**
+ * 查询社区所有列表
+ *
+ * @return 社区列表
+ */
+ R getCommunityAllList(String areaCode);
+
+ /**
+ * 根据名字查询所有社区列表
+ *
+ * @param name
+ * 社区名字
+ * @return 社区列表
+ */
+ R communitySwitchSearchList(String name,String areaCode);
+
+ /**
+ * 根据经纬度以及距离搜索附近社区列表
+ *
+ * @param communityDTO
+ * 请求参数
+ * @return 社区列表
+ */
+ R communitySwitchSearchDistanceList(SearchCommunityDTO communityDTO);
+
+ R getCommunityPassword(Long communityId);
+}
--
Gitblit v1.7.1