package com.panzhihua.service_community.service;
|
|
import com.panzhihua.common.model.dtos.community.PageComStreetDTO;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.ComStreetVO;
|
|
import java.util.List;
|
|
/**
|
* @author: llming
|
* @description: 街道
|
**/
|
public interface ComStreetService {
|
/**
|
* 添加街道
|
* @param comStreetVO 街道信息
|
* @return 新增结果
|
*/
|
R addStreet(ComStreetVO comStreetVO);
|
|
/**
|
* 查询社区
|
* @param comStreetVO 登录人的经纬度、或者指定区域的社区
|
* @return 社区集合
|
*/
|
R listStreet(ComStreetVO comStreetVO);
|
/**
|
* 街道详情
|
* @param streetId 社区id
|
* @return 社区详情
|
*/
|
R detailStreet(Long streetId);
|
/**
|
* 分页查询街道
|
* @param pageComStreetDTO 查询参数
|
* @return 分页集合
|
*/
|
R pageStreet(PageComStreetDTO pageComStreetDTO);
|
|
/**
|
* 删除社区
|
* @param Ids 社区id
|
* @return 删除结果
|
*/
|
R delectStreat(List<Long> Ids);
|
}
|