zhaozhengjie
2022-09-29 5fb93eaa61d42d7ebb7048057d45e285efd7f0dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
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(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);
}