| | |
| | | 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; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | public interface ComMngStructAreaService { |
| | | /** |
| | | * 新增小区 |
| | | * @param comMngStructAreaVO 小区信息 |
| | | * |
| | | * @param comMngStructAreaVO |
| | | * 小区信息 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("addarea") |
| | | R addArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO); |
| | | |
| | | /** |
| | | * 分页查询小区 |
| | | * @param comMngStructAreaVO 查询参数 |
| | | * |
| | | * @param comMngStructAreaVO |
| | | * 查询参数 |
| | | * @return 分页结果 |
| | | */ |
| | | @PostMapping("pagearea") |
| | | R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO); |
| | | |
| | | /** |
| | | * 编辑小区 |
| | | * @param comMngStructAreaVO 编辑内容 |
| | | * |
| | | * @param comMngStructAreaVO |
| | | * 编辑内容 |
| | | * @return 编辑结果 |
| | | */ |
| | | R putArea(ComMngStructAreaVO comMngStructAreaVO); |
| | | |
| | | /** |
| | | * 删除小区 |
| | | * @param comMngStructAreaVO 地址编码 |
| | | * |
| | | * @param comMngStructAreaVO |
| | | * 地址编码 |
| | | * @return 删除结果 |
| | | */ |
| | | R deleteArea(ComMngStructAreaVO comMngStructAreaVO); |
| | | |
| | | /** |
| | | * 查询小区信息 |
| | | * @param areaCode 小区地址编码 |
| | | * |
| | | * @param areaCode |
| | | * 小区地址编码 |
| | | * @return 小区信息 |
| | | */ |
| | | R selectAreaByAreaCode(String areaCode); |
| | | |
| | | /** |
| | | * 获取小区的地址编码 |
| | | * @param areaId 小区id |
| | | * |
| | | * @param areaId |
| | | * 小区id |
| | | * @return 小区地址编码 |
| | | */ |
| | | R selectAreaById(Long areaId); |
| | | |
| | | /** |
| | | * 查询小区 |
| | | * @param communityId 社区id |
| | | * |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 小区集合 |
| | | */ |
| | | R listArea(Long communityId); |
| | | |
| | | /** |
| | | * 小区详情 |
| | | * @param areaId 小区id |
| | | * |
| | | * @param areaId |
| | | * 小区id |
| | | * @return 小区信息 |
| | | */ |
| | | R detailArea(Long areaId); |
| | | |
| | | /** |
| | | * 选择导入的小区 |
| | | * @param param 小区名字 模糊查询 |
| | | * @param communityId 社区id |
| | | * |
| | | * @param param |
| | | * 小区名字 模糊查询 |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 小区集合 ComMngStructAreaVO |
| | | */ |
| | | R listAreas(String param, Long communityId); |
| | | |
| | | /** |
| | | * 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则 |
| | | * @param id 小区id |
| | | * |
| | | * @param id |
| | | * 小区id |
| | | * @return ComMngStructAreaVO |
| | | */ |
| | | R checkAreaHouse(Long id); |