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.
29 lines
573 B
29 lines
573 B
6 years ago
|
package com.epmet.dao;
|
||
|
|
||
|
import com.epmet.commons.mybatis.dao.BaseDao;
|
||
|
import com.epmet.entity.SysRegionEntity;
|
||
|
import org.apache.ibatis.annotations.Mapper;
|
||
|
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/**
|
||
|
* 行政区域
|
||
|
*
|
||
|
* @author Mark sunlightcs@gmail.com
|
||
|
*/
|
||
|
@Mapper
|
||
|
public interface SysRegionDao extends BaseDao<SysRegionEntity> {
|
||
|
|
||
|
List<SysRegionEntity> getList(Map<String, Object> params);
|
||
|
|
||
|
List<SysRegionEntity> getListByLevel(Integer treeLevel);
|
||
|
|
||
|
List<Map<String, Object>> getTreeList();
|
||
|
|
||
|
SysRegionEntity getById(Long id);
|
||
|
|
||
|
int getCountByPid(Long pid);
|
||
|
|
||
|
}
|