From 43f0578e80af82ecae6c61b51bd0539c6b960603 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期二, 16 八月 2022 19:08:32 +0800 Subject: [PATCH] 服务范围优化 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActService.java | 79 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 72 insertions(+), 7 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 9af16c7..b0c6d8a 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,7 +1,7 @@ package com.panzhihua.service_community.service; import com.panzhihua.common.model.dtos.community.PageComActDTO; -import com.panzhihua.common.model.dtos.user.PageFeedBackDTO; +import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.ComActVO; @@ -14,38 +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(); + R listCommunityAll(String areaCode); + /** + * 删除社区 + * + * @param communityId + * 社区id + * @return 删除结果 + */ + R delectCommunity(Long communityId); + + /** + * 综治后台-查询社区列表 + * + * @return 社区列表 + */ + R getCommunityLists(); + + /** + * 查询西区社区列表 + * + * @return 社区列表 + */ + R getWestCommunityLists(String areaCode); + + /** + * 查询社区所有列表 + * + * @return 社区列表 + */ + R getCommunityAllList(String appId); + + /** + * 根据名字查询所有社区列表 + * + * @param name + * 社区名字 + * @return 社区列表 + */ + R communitySwitchSearchList(String name,String areaCode); + + /** + * 根据经纬度以及距离搜索附近社区列表 + * + * @param communityDTO + * 请求参数 + * @return 社区列表 + */ + R communitySwitchSearchDistanceList(SearchCommunityDTO communityDTO); + + R getCommunityPassword(Long communityId); } -- Gitblit v1.7.1