CityManager.java
597 Bytes
package com.diligrp.website.manager;
import java.util.List;
import com.diligrp.website.domain.City;
public interface CityManager {
List<City> getCityListByParentId(Integer pid);
/**
*
* this method is 根据当前城市id查询到上级的信息或者当前城市信息
*
* @param pid
* @return
* @createTime 2014年6月4日 下午8:16:20
* @author liujie
*/
List<City> getParentCityListById(Integer pid);
List<City> getCityByText(String cityName, int cityLevel);
List<City> getCityListByCityIds(List cityIds);
List<City> getCityListByCountryId(Long countryId);
}