Esempio n. 1
0
 /**
  * 取得城区下拉列表
  *
  * @return
  * @throws Exception
  */
 public String getZoneDDL() throws Exception {
   return StrutsUtil.renderJSON(systemService.getZoneDDL(cityId));
 }
Esempio n. 2
0
 /**
  * 取得城市 list
  *
  * @return
  * @throws Exception
  */
 public List<City> getCityList() throws Exception {
   return systemService.getCityListByProvince(Long.valueOf("1"));
 }
Esempio n. 3
0
 public String list() throws Exception {
   pageInfo = systemService.getZonePage(pageInfo, cityId);
   return SUCCESS;
 }
Esempio n. 4
0
 public String delete() throws Exception {
   systemService.deleteZone(zoneId);
   return list();
 }
Esempio n. 5
0
 public String save() throws Exception {
   zone = systemService.saveZone(zone, cityId);
   return list();
 }
Esempio n. 6
0
 protected void prepareModel() throws Exception {
   zone = systemService.prepareZone(zone, zoneId, cityId);
 }