|
@@ -180,6 +180,18 @@ public class AreaController extends BaseController {
|
|
prantsSet.add(prantsmap);
|
|
prantsSet.add(prantsmap);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ List<Area> areaList = Lists.newArrayList();
|
|
|
|
+ //根据id查该地区下所有子集
|
|
|
|
+ areaList = areaService.findAraeListByParentId(areaList,e.getId());
|
|
|
|
+ for (Area info: areaList) {
|
|
|
|
+ Map<String, Object> prantsmap = Maps.newHashMap();
|
|
|
|
+ prantsmap.put("id", info.getId());
|
|
|
|
+ prantsmap.put("pId", info.getParentId());
|
|
|
|
+ prantsmap.put("pIds", info.getParentIds());
|
|
|
|
+ prantsmap.put("name", info.getName());
|
|
|
|
+ prantsmap.put("selectName", selectName);
|
|
|
|
+ prantsSet.add(prantsmap);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
map.put("id", e.getId());
|
|
map.put("id", e.getId());
|
|
map.put("pId", e.getParentId());
|
|
map.put("pId", e.getParentId());
|