CityDao.java 574 Bytes
package com.diligrp.website.dao;

import java.util.List;

import com.diligrp.website.domain.City;

public interface CityDao {

	List<City> getCityListByParentId(Integer pid);

	/**
	 * 
	 * this method is 根据当前城市id查询父类所有城市的信息
	 * 
	 * @param pid
	 * @return
	 * @createTime 2014年6月4日 下午6:33:48
	 * @author liujie
	 */
	List<City> getParentCityListById(Integer pid);

	List<City> getCityByText(String cityName, int cityLevel);

	List<City> getCityListByCityIds(List cityIds);

	List<City> getCityListByCountryId(Long countryId);

}