zTree实现地市县三级级联Service接口实现
ProvinceServiceImpl.java:
/**
* @Title:ProvinceServiceImpl.java
* @Package:com.gwtjs.service.impl
* @Description:省份地市县级三级级联Service接口实现
* @author:Youhaidong(游海东)
* @date:2014-5-11 上午12:17:44
* @version V1.0
*/
package com.gwtjs.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gwtjs.dao.ProvinceDao;
import com.gwtjs.model.Province;
import com.gwtjs.service.ProvinceService;
/**
* 类功能说明
* 类修改者 修改日期
* 修改说明
* <p>Title:ProvinceServiceImpl.java</p>
* <p>Description:游海东个人开发</p>
* <p>Copyright:Copyright(c)2013</p>
* @author:游海东
* @date:2014-5-11 上午12:17:44
* @version V1.0
*/
@Service("provinceService")
public class ProvinceServiceImpl implements ProvinceService
{
@Autowired
private ProvinceDao provinceDao;
/* (non-Javadoc)
* <p>Title:findArea</p>
* <p>Description:</p>
* @param provinceCode
* @param cityCode
* @param countyCode
* @return
* @see com.gwtjs.service.ProvinceService#findArea(java.lang.String, java.lang.String, java.lang.String)
*/
@Override
public List<Province> findArea(String provinceCode, String cityCode,String countyCode)
{
return provinceDao.findArea(provinceCode, cityCode, countyCode);
}
}