linwe
2024-07-15 8f5aeec641d916806553ef9772d55e17e93db150
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.doorplateAddress.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.doorplateAddress.entity.DoorplateAddressEntity;
import org.springblade.modules.doorplateAddress.excel.ImportDoorplateExcel;
import org.springblade.modules.doorplateAddress.vo.DoorplateAddressVOTree;
import org.springblade.modules.doorplateAddress.vo.DoorplateAddressVO;
import org.springblade.modules.house.vo.HouseParam;
 
import java.util.List;
 
/**
 * 门牌地址表(总台账数据) 服务类
 *
 * @author BladeX
 * @since 2023-10-28
 */
public interface IDoorplateAddressService extends IService<DoorplateAddressEntity> {
 
    /**
     * 自定义分页
     *
     * @param page
     * @param doorplateAddress
     * @return
     */
    IPage<DoorplateAddressVO> selectDoorplateAddressPage(IPage<DoorplateAddressVO> page, DoorplateAddressVO doorplateAddress);
 
    /**
     * 根据角色获取功能集合数据
     * @param type
     * @param roleName
     * @return
     */
    Object getFuncList(Integer type,String roleName);
 
    /**
     * 获取楼盘相关集合数据
     * @param houseParam
     * @return
     */
    Object getHousesList(HouseParam houseParam);
 
    /**
     * 查询房屋及出租详情信息
     * @param code 门牌地址编号
     * @return
     */
    Object getHouseRentInfo(String code,Long houseId);
 
    List<DoorplateAddressVOTree> getDoorplateAddressList(String code, String type);
 
    /**
     * 根据参数获取地址详情
     * @return
     */
    DoorplateAddressVO getDoorplateAddressDetail(DoorplateAddressVO doorplateAddressVO);
 
    /**
     *
     * @param code
     * @return
     */
    Object getHouseType(String code);
 
    /**
     * 查询社区信息
     * @param doorplateAddressEntity
     * @return
     */
    List<DoorplateAddressEntity> getAllDoorplateAddress(DoorplateAddressEntity doorplateAddressEntity);
 
    /**
     * 获取房屋树
     * @param houseParam
     * @return
     */
    List<DoorplateAddressVOTree> getHouseTree(HouseParam houseParam);
 
    /**
     * 房屋数据处理
     * @return
     */
    Object houseDataHandle(String townName);
 
    /**
     * 小区数据处理
     * @return
     */
    Object aoiDataHandle();
 
    /**
     * 场所数据处理
     * @return
     */
    Object placeDataHandle(String townName);
 
    /**
     * 门牌地址表(总台账数据) 自定义详情
     */
    Object getDetail(DoorplateAddressVO doorplateAddress);
 
    /**
     * 社区数据处理
     * @return
     */
    Object communityDataHandle();
 
    /**
     * 查询场所标准地址数据
     * @param doorplateAddressVO
     * @param size
     * 查询场所标准地址数据
     * @return
     */
    Object getPlaceList(DoorplateAddressVO doorplateAddressVO, Integer size);
 
    /**
     * 通过小区id 查询楼栋编码
     * @param districtId
     * @return
     */
    List<DoorplateAddressVO> getHouseBuildingCode(String districtId);
 
    /**
     * 网格范围数据处理
     * @return
     */
    boolean gridRangeDataHandle(String townName,String communityName);
 
    /**
     * 导入门牌地址
     * @param read
     * @return
     */
    String importDoorplate(List<ImportDoorplateExcel> read);
}