delete from TBL_ACCESSORY;
delete from TBL_FORMPARENTCHILD;
delete from TBL_FORMS;
delete from TBL_FORMSDETAIL;
delete from TBL_FORMSDETAILUI;
delete from TBL_FORMSUI;
delete from TBL_OBJECTID;
delete from TBL_ORDERNUM;
delete from TBL_SHENQING;
delete from TBL_SHENQING_C;
delete from TBL_SYSMENU;
delete from TBL_TREESDEFINE;

INSERT INTO TBL_SYSMENU ( UUID, SYSTEMID, MENULEVEL, INDEXNUM, NAME, DESCRIPTION, ICON, TARGETPAGE,
PARENTUUID, PARENTTARGET, PARENTCATPATH ) VALUES ( 
'00000000000000000001', 2, 0, 1, 'WebPage3开发平台', NULL, NULL, NULL, NULL
, 'parent.cfpMain', NULL);
INSERT INTO TBL_SYSMENU ( UUID, SYSTEMID, MENULEVEL, INDEXNUM, NAME, DESCRIPTION, ICON, TARGETPAGE,
PARENTUUID, PARENTTARGET, PARENTCATPATH ) VALUES ( 
'00000000000000000002', 2, 1, 1, '基本页面建模', NULL, NULL, '/webpage3/webpage/definition/formsList.jsp', '00000000000000000001'
, 'parent.cfpMain', '00000000000000000001');  
INSERT INTO TBL_SYSMENU ( UUID, SYSTEMID, MENULEVEL, INDEXNUM, NAME, DESCRIPTION, ICON, TARGETPAGE,
PARENTUUID, PARENTTARGET, PARENTCATPATH ) VALUES ( 
'00000000000000000003', 2, 1, 2, '列表页面建模', NULL, NULL, '/webpage3/webpage/definition/searchdef/searchList.jsp', '00000000000000000001'
, 'parent.cfpMain', '00000000000000000001');  


insert into tbl_forms values('00000000000000001001','TBL_SHENQING','项目申请主表','',1,0,0,1,'','','','');
insert into tbl_forms values('00000000000000001002','TBL_SHENQING_C','项目申请子表','',1,0,0,1,'','','','');
insert into tbl_forms values('00000000000000001031','SHENQINGLIST','申请列表','',2,0,0,2,'TBL_SHENQING,UUID,,UUID,String|TBL_SHENQING,SHENQINGREN,,申请人,String|TBL_SHENQING,TITLE,,申请主题,String|TBL_SHENQING,DESCRIPTION,,申请描述,String|TBL_SHENQING,SHIJIAN,,申请时间,String','#TBL_SHENQING|TBL_SHENQING_C','0,TBL_SHENQING,UUID,=,TBL_SHENQING_C,TBL_SHENQING_FK,N,,Y,|2,','SELECT DISTINCT TBL_SHENQING.UUID , TBL_SHENQING.TITLE , TBL_SHENQING.DESCRIPTION , TBL_SHENQING.SHENQINGREN , TBL_SHENQING.SHIJIAN       FROM TBL_SHENQING , TBL_SHENQING_C WHERE (TBL_SHENQING.UUID=TBL_SHENQING_C.TBL_SHENQING_FK)');


insert into TBL_FORMSDETAIL values('00000000000000001004',0,0,2,0,0,0,'00000000000000001001',1,'申请人',20,'SHENQINGREN','',0,'','');		
insert into TBL_FORMSDETAIL values('00000000000000001005',0,0,2,0,0,0,'00000000000000001001',1,'项目主题',200,'TITLE','',0,'','');		
insert into TBL_FORMSDETAIL values('00000000000000001006',0,0,2,0,0,0,'00000000000000001001',1,'项目描述',2000,'DESCRIPTION','',0,'','');				
insert into TBL_FORMSDETAIL values('00000000000000001007',0,0,2,0,0,0,'00000000000000001001',6,'申请时间',0,'SHIJIAN','',0,'','');				
insert into TBL_FORMSDETAIL values('00000000000000001008',0,0,2,0,0,0,'00000000000000001002',1,'项目文件',20,'FILES','',0,'','');				
insert into TBL_FORMSDETAIL values('00000000000000001009',0,0,2,0,0,0,'00000000000000001002',1,'文件描述',2000,'DESCRIPTION','',0,'','');		
insert into TBL_FORMSDETAIL values('00000000000000001010',0,0,1,1,2,2,'00000000000000001002',1,'项目申请主表外键',20,'TBL_SHENQING_FK','',0,'','');		
insert into TBL_FORMSDETAIL values('00000000000000001032',0,0,0,0,0,0,'00000000000000001031',1,'申请主题',0,'TITLE','',0,'TBL_SHENQING','like');
insert into TBL_FORMSDETAIL values('00000000000000001033',0,0,0,0,0,0,'00000000000000001031',1,'申请描述',0,'DESCRIPTION','',0,'TBL_SHENQING','like');


insert into TBL_FORMSUI values ('00000000000000001011','00000000000000001001','申请新增视图','',1);
insert into TBL_FORMSUI values ('00000000000000001012','00000000000000001002','申请子表新增视图','',2);
insert into TBL_FORMSUI values ('00000000000000001019','00000000000000001001','申请修改视图','',1);
insert into TBL_FORMSUI values ('00000000000000001020','00000000000000001001','申请删除视图','',1);
insert into TBL_FORMSUI values ('00000000000000001021','00000000000000001002','申请子表修改视图','',2);
insert into TBL_FORMSUI values ('00000000000000001026','00000000000000001023','基本视图','',4);
insert into TBL_FORMSUI values ('00000000000000001027','00000000000000001023','基本列表','',3);
insert into TBL_FORMSUI values ('00000000000000001034','00000000000000001031','基本视图','',4);
insert into TBL_FORMSUI values ('00000000000000001035','00000000000000001031','基本列表','',3);
insert into TBL_FORMSUI values ('00000000000000001043','00000000000000001001','程序处理申请新增视图','',1);
insert into TBL_FORMSUI values ('00000000000000001044','00000000000000001002','程序处理申请子表新增视图','',2);
insert into TBL_FORMSUI values ('00000000000000001073','00000000000000001001','程序取值申请修改视图','',1);
insert into TBL_FORMSUI values ('00000000000000001074','00000000000000001002','程序取值申请子表修改视图','',2);
insert into TBL_FORMSUI values ('00000000000000001084','00000000000000001031','调用程序控制页面的列表','',3);


insert into TBL_OBJECTID values('00000000000000001094');

