随笔分类 - 无限极树结构
摘要:1.表设计 CREATE TABLE `party_examine_bank_type` ( `id` bigint(20) NOT NULL COMMENT '类型id', `ancestors` text COMMENT '祖级列表', `parent_id` bigint(20) DEFAUL
阅读全文
摘要:1.无限极新增节点 int maxChildRgtVal = orgParent.getRgtVal() - 1; //真理 if (orgParent.getChildNodeCount() != 0) {//如果有子节点,获取子节点最大的右值 org.setLftVal(maxChildRgtV
阅读全文

浙公网安备 33010602011771号