// 取得所有的第二层级列表
  public HashMap<Integer, List<TreeNodeAppDto>> getSecondMap(TreeNodeAppDto dto) {
    HashMap<Integer, List<TreeNodeAppDto>> map = new HashMap<Integer, List<TreeNodeAppDto>>();

    List<TreeNodeAppDto> firstList = this.getFirstList(dto);

    for (TreeNodeAppDto tempDto : firstList) {
      map.put(tempDto.getId(), tempDto.getChilds());
    }
    return map;
  }
  // 取得所有的第三层级列表
  public HashMap<Integer, List<TreeNodeAppDto>> getThirdList(
      HashMap<Integer, List<TreeNodeAppDto>> secondMap) {
    HashMap<Integer, List<TreeNodeAppDto>> map = new HashMap<Integer, List<TreeNodeAppDto>>();

    for (Integer i : secondMap.keySet()) {
      List<TreeNodeAppDto> tmepList = secondMap.get(i);
      for (TreeNodeAppDto tempDto : tmepList) {
        map.put(tempDto.getId(), tempDto.getChilds());
      }
    }

    return map;
  }
 // 得到第一层级列表
 public List<TreeNodeAppDto> getFirstList(TreeNodeAppDto dto) {
   return dto.getChilds();
 }