huanghongfa
2020-12-29 60ba6abd93f8b80c99543fad618f4d62d801d31a
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
package com.panzhihua.service_community.service;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.BatchhouseVO;
import com.panzhihua.common.model.vos.community.ComMngStructAreaVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 小区
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-12-15 15:48
 **/
public interface ComMngStructAreaService {
    /**
     * 新增小区
     * @param comMngStructAreaVO 小区信息
     * @return 新增结果
     */
    @PostMapping("addarea")
    R addArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO);
    /**
     * 分页查询小区
     * @param comMngStructAreaVO 查询参数
     * @return 分页结果
     */
    @PostMapping("pagearea")
    R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO);
    /**
     * 编辑小区
     * @param comMngStructAreaVO 编辑内容
     * @return 编辑结果
     */
    R putArea(ComMngStructAreaVO comMngStructAreaVO);
    /**
     * 删除小区
     * @param comMngStructAreaVO 地址编码
     * @return 删除结果
     */
    R deleteArea(ComMngStructAreaVO comMngStructAreaVO);
 
    /**
     * 查询小区信息
     * @param areaCode 小区地址编码
     * @return 小区信息
     */
    R selectAreaByAreaCode(String areaCode);
 
    /**
     * 获取小区的地址编码
     * @param areaId 小区id
     * @return 小区地址编码
     */
    R selectAreaById(Long areaId);
    /**
     * 查询小区
     * @param communityId 社区id
     * @return 小区集合
     */
    R listArea(Long communityId);
    /**
     * 小区详情
     * @param areaId 小区id
     * @return 小区信息
     */
    R detailArea(Long areaId);
}