You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
|
|
*
|
|
|
|
* https://www.renren.io
|
|
|
|
*
|
|
|
|
* 版权所有,侵权必究!
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.epmet.service;
|
|
|
|
|
|
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
|
|
import com.epmet.dto.SysRegionDTO;
|
|
|
|
import com.epmet.dto.region.RegionProvince;
|
|
|
|
import com.epmet.entity.SysRegionEntity;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 行政区域
|
|
|
|
*
|
|
|
|
* @author Mark sunlightcs@gmail.com
|
|
|
|
*/
|
|
|
|
public interface SysRegionService extends BaseService<SysRegionEntity> {
|
|
|
|
|
|
|
|
List<SysRegionDTO> list(Map<String, Object> params);
|
|
|
|
|
|
|
|
List<Map<String, Object>> getTreeList();
|
|
|
|
|
|
|
|
SysRegionDTO get(Long id);
|
|
|
|
|
|
|
|
void save(SysRegionDTO dto);
|
|
|
|
|
|
|
|
void update(SysRegionDTO dto);
|
|
|
|
|
|
|
|
void delete(Long id);
|
|
|
|
|
|
|
|
int getCountByPid(Long pid);
|
|
|
|
|
|
|
|
List<RegionProvince> getRegion(boolean threeLevel);
|
|
|
|
}
|