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;
|
|
/**
|
* @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);
|
}
|