From 1a21c37e2c41236c89e97a33e9da65c5fe7971b6 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 01 六月 2022 18:11:08 +0800
Subject: [PATCH] bug修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java | 81 ++++++++++++++++++++++++++++++++++++++--
1 files changed, 76 insertions(+), 5 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
index 888bddf..6f93ef5 100644
--- 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
@@ -1,6 +1,7 @@
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;
@@ -13,33 +14,103 @@
public interface ComActService {
/**
* 新增社区
- * @param comActVO 社区信息
+ *
+ * @param comActVO
+ * 社区信息
* @return 新增结果
*/
R addCommunity(ComActVO comActVO);
+
/**
* 编辑社区
- * @param comActVO 编辑内容
+ *
+ * @param comActVO
+ * 编辑内容
* @return 编辑结果
*/
R putCommunity(ComActVO comActVO);
+
/**
* 查询社区
- * @param comActVO 登录人的经纬度、或者指定区域的社区
+ *
+ * @param comActVO
+ * 登录人的经纬度、或者指定区域的社区
* @return 社区集合
*/
R listCommunity(ComActVO comActVO);
+
/**
* 社区详情
- * @param communityId 社区id
+ *
+ * @param communityId
+ * 社区id
* @return 社区详情
*/
R detailCommunity(Long communityId);
+
/**
* 分页查询社区
- * @param pageComActDTO 查询参数
+ *
+ * @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