Package edu.zzuli.common

Examples of edu.zzuli.common.TreeNode


    paramMap.put("JGBH", jgbh);
    List<Map<String, Object>> listMap = this.baseDaoEntity.queryForList(sql,paramMap);
    List<TreeNode> listTreeNode = new ArrayList<TreeNode>();
    for(Map map:listMap) {
      String id = (String)map.get("JGBH");
      TreeNode node = new TreeNode(id,(String)map.get("JGMC"),(String)map.get("SJJG"));
      listTreeNode.add(node);
    }
    return listTreeNode;
  }
View Full Code Here


      + " order by sort";
    List<Map<String, Object>> listMap = this.baseDaoEntity.getJdbcTemplate().queryForList(sql);
    List<TreeNode> listTreeNode = new ArrayList<TreeNode>();
    for(Map map:listMap) {
      String id = (String)map.get("ID");
      TreeNode node = new TreeNode(id,(String)map.get("JDMC"),(String)map.get("FID"));
      for(Map mapXtgn:gnidList) {
        if (id.equals((String)mapXtgn.get("GNID"))) {
          node.setChecked(true);
          break;
        }
      }
      listTreeNode.add(node);
    }
View Full Code Here

      + " order by sort";
    List<Map<String, Object>> listMap = this.baseDaoEntity.getJdbcTemplate().queryForList(sql);
    List<TreeNode> listTreeNode = new ArrayList<TreeNode>();
    for(Map map:listMap) {
      String id = (String)map.get("ID");
      TreeNode node = new TreeNode(id,(String)map.get("JDMC"),(String)map.get("FID"));
      for(Map mapXtgn:gnidList) {
        if (id.equals((String)mapXtgn.get("GNID"))) {
          node.setChecked(true);
          break;
        }
      }
      listTreeNode.add(node);
    }
View Full Code Here

      + " order by sort";
    List<Map<String, Object>> listMap = this.baseDaoEntity.getJdbcTemplate().queryForList(sql);
    List<TreeNode> listTreeNode = new ArrayList<TreeNode>();
    for(Map map:listMap) {
      String id = (String)map.get("ID");
      TreeNode node = new TreeNode(id,(String)map.get("JDMC"),(String)map.get("FID"));
      for(Map mapXtgn:gnidList) {
        if (id.equals((String)mapXtgn.get("GNID"))) {
          node.setChecked(true);
          break;
        }
      }
      listTreeNode.add(node);
    }
View Full Code Here

TOP

Related Classes of edu.zzuli.common.TreeNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.