zTree實現地市縣三級級聯Service介面實現
阿新 • • 發佈:2018-11-25
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); } }