无限分级的tree
摘要:
public class XTree{ // 添加子节点 public static void addNode(String pid,String name) { QueryRunner runner = new QueryRunner(JdbcUtils.getDataSource()); // 查找父节点 String sql = "select * from category where id=?"; Category parent = (Category)runner.query(sql,pid,new BeanHan... 阅读全文
posted @ 2013-05-03 21:52 Knuth_档案 阅读(206) 评论(0) 推荐(0) 编辑