2023-10-31 12:20:45 +08:00
|
|
|
|
package com.cm.population.service.residential;
|
|
|
|
|
|
|
|
|
|
import com.cm.common.pojo.ListPage;
|
|
|
|
|
import com.cm.common.result.SuccessResultList;
|
|
|
|
|
import com.cm.population.pojo.bos.residential.ResidentialBO;
|
|
|
|
|
import com.cm.population.pojo.dtos.residential.ResidentialDTO;
|
|
|
|
|
import com.cm.population.pojo.pos.residential.ResidentialPO;
|
|
|
|
|
import com.cm.population.pojo.vos.residential.ResidentialVO;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName: IResidentialService
|
|
|
|
|
* @Description: 小区管理
|
|
|
|
|
* @Author: CodeFactory
|
|
|
|
|
* @Date: 2023-10-25 14:52:32
|
|
|
|
|
* @Version: 3.0
|
|
|
|
|
**/
|
|
|
|
|
public interface IResidentialService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void save(ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void save(String token, ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return residentialId
|
|
|
|
|
*/
|
|
|
|
|
String saveReturnId(ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return residentialId
|
|
|
|
|
*/
|
|
|
|
|
String saveReturnId(String token, ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param ids id列表
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void remove(List<String> ids);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param ids id列表
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void remove(String token, List<String> ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除小区管理(物理删除)
|
|
|
|
|
*
|
|
|
|
|
* @param ids id列表
|
|
|
|
|
*/
|
|
|
|
|
void delete(List<String> ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param residentialId
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void update(String residentialId, ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改小区管理
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param residentialId
|
|
|
|
|
* @param residentialVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void update(String token, String residentialId, ResidentialVO residentialVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialDTO get(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param residentialId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialDTO get(String residentialId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialBO getBO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param residentialId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialBO getBO(String residentialId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialPO getPO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理详情
|
|
|
|
|
*
|
|
|
|
|
* @param residentialId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ResidentialPO getPO(String residentialId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ResidentialDTO> list(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ResidentialBO> listBO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ResidentialPO> listPO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理分页列表
|
|
|
|
|
*
|
|
|
|
|
* @param page
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
SuccessResultList<List<ResidentialDTO>> listPage(ListPage page);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小区管理统计
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Integer count(Map<String, Object> params);
|
|
|
|
|
|
2023-11-16 18:21:55 +08:00
|
|
|
|
String getCommunityId(String community);
|
|
|
|
|
|
|
|
|
|
String getStreetId(String street);
|
2023-10-31 12:20:45 +08:00
|
|
|
|
}
|