New file |
| | |
| | | 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); |
| | | |
| | | |
| | | } |