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(String appId); /** * 查询西区社区列表 * * @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); R selectIds(Long id); /** * 统计大屏-基础数据 * @return */ R selectBasicData(); /** * 统计在职干部特长 * @return */ R statisticsPbMemberType(); /** * 单位统计 * @return */ R selectUnitByNatureName(); }