mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
117
package com.panzhihua.service_community.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.BatchhouseVO;
import com.panzhihua.common.model.vos.community.ComMngStructAreaVO;
import com.panzhihua.common.model.vos.community.ComMngStructHouseVO;
import com.panzhihua.service_community.model.dos.ComMngStructAreaDO;
import com.panzhihua.service_community.model.dos.ComMngStructHouseDO;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 房屋
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-12-15 15:06
 **/
public interface ComMngStructHouseService extends IService<ComMngStructHouseDO> {
    /**
     * 房屋信息
     * 
     * @param userId
     *            用户id
     * @return 房屋信息
     */
    R detailHouse(Long userId);
 
    /**
     * 小区批量建房
     * 
     * @param batchhouseVO
     *            建房参数
     * @return 建房结果
     */
    R batchHouse(BatchhouseVO batchhouseVO);
 
    /**
     * 新增小区地址
     * 
     * @param comMngStructAreaVO
     *            小区地址
     */
    R addHouseArea(ComMngStructAreaVO comMngStructAreaVO);
 
    /**
     * 先删除小区小面所有房屋、删除用户和小区房屋的绑定关系
     * 
     * @param comMngStructAreaVO
     *            小区地址编码
     * @return 删除结果
     */
    R batchDeleteHouse(ComMngStructAreaVO comMngStructAreaVO);
 
    /**
     * 展示下级建筑
     * 
     * @param houseCode
     *            房屋编号
     * @return 下级建筑列表
     */
    R listSubordinatebuilding(String houseCode);
 
    /**
     * 添加同级地址
     * 
     * @param batchhouseVO
     *            添加参数
     * @param comMngStructAreaDO
     *            小区信息-规则
     * @return 添加结果
     */
    R addHouse(BatchhouseVO batchhouseVO, ComMngStructAreaDO comMngStructAreaDO);
 
    /**
     * 编辑地址
     * 
     * @param comMngStructHouseVO
     *            编辑内容
     * @return 编辑结果
     */
    R putHouse(ComMngStructHouseVO comMngStructHouseVO);
 
    /**
     * 删除地址
     * 
     * @param comMngStructHouseVO
     *            删除指定地址和所有下级
     * @return 删除结果
     */
    R deleteHouse(ComMngStructHouseVO comMngStructHouseVO);
 
    /**
     * 房屋地址下拉列表
     * 
     * @param parentCode
     *            父级编码
     * @return 下级列表
     */
    R putVolunteerPhone(String parentCode);
 
    /**
     * 新增房屋
     * 
     * @param comMngStructHouseVO
     *            房屋信息
     * @return 新增结果
     */
    R addHouses(ComMngStructHouseVO comMngStructHouseVO);
 
    /**
     * 导出小区房屋信息
     * 
     * @param areaId
     * @return
     */
    R houseExport(Long areaId);
 
}