package com.panzhihua.service_community.service;
|
|
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
|
* @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);
|
|
/**
|
* 选择导入的小区
|
*
|
* @param param
|
* 小区名字 模糊查询
|
* @param communityId
|
* 社区id
|
* @return 小区集合 ComMngStructAreaVO
|
*/
|
R listAreas(String param, Long communityId);
|
|
/**
|
* 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则
|
*
|
* @param id
|
* 小区id
|
* @return ComMngStructAreaVO
|
*/
|
R checkAreaHouse(Long id);
|
}
|