--创建树形菜单表
create table vote_tree
(
id number(10) not null,
text varchar2(30) not null,
pid number(10)
)
---------------------------树形菜单表--------------------------------------
insert into vote_tree values(1,'功能菜单',0);
insert into vote_tree values(2,'系统管理',1);
insert into vote_tree values(3,'用户管理',1);
insert into vote_tree values(4,'个人信息',3);
insert into vote_tree values(5,'投票记录',3);
insert into vote_tree values(6,'投票管理',1);
insert into vote_tree values(7,'维护',6);
insert into vote_tree values(8,'发布新投票',6);
insert into vote_tree values(9,'所有投票',6);