e_ttoa_init_data.sql
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:22k
源码类别:
电子政务应用
开发平台:
Java
- -------------------
- --人力资源模块数据初始化--
- -------------------
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(1,2,'临时合同',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(2,2,'正式合同',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(3,2,'试用期',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(4,1,'小学',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(5,1,'初中',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(6,1,'高中',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(7,1,'大学',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(8,1,'硕士',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(9,1,'博士',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(10,3,'合同未生效',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(11,3,'合同履行中',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(12,3,'合同结束',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(13,0,'群众',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(14,0,'其他党派',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(16,4,'完成',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(17,11,'人民币',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(15,4,'未完成',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(18,11,'美元',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(19,0,'中共预备党员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(20,0,'共青团员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(21,0,'民革会员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(22,0,'民盟盟员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(23,0,'民建会员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(24,0,'民进会员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(25,0,'农工党党员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(26,0,'致公党党员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(27,0,'九三学社社员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(28,0,'台盟盟员',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(29,0,'无党派民主人士',NULL,'')
- ;
- INSERT INTO HR_DD(DD_ID,DD_TYPE_ID,DD_NAME,DD_STATE,DD_DESCRIPTION) VALUES(30,0,'中国共产党',NULL,'')
- ;
- ---------------------
- --工作流数据模块初始化--
- ---------------------
- INSERT INTO T_WORKFLOW_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(0,'创建')
- ;
- INSERT INTO T_WORKFLOW_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(1,'执行中')
- ;
- INSERT INTO T_WORKFLOW_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(2,'完成')
- ;
- INSERT INTO T_WORKFLOW_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(3,'回退')
- ;
- INSERT INTO T_WORKFLOW_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(1,'项目管理')
- ;
- INSERT INTO T_WORKFLOW_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(2,'办公室发文')
- ;
- INSERT INTO T_WORKFLOW_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(4,'个人发文')
- ;
- INSERT INTO T_WORKFLOW_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(5,'会议通知')
- ;
- INSERT INTO T_SUBTASK_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(0,'未执行')
- ;
- INSERT INTO T_SUBTASK_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(1,'等待执行')
- ;
- INSERT INTO T_SUBTASK_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(2,'完成')
- ;
- INSERT INTO T_SUBTASK_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(3,'等待回退')
- ;
- INSERT INTO T_SUBTASK_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(4,'回退完成')
- ;
- INSERT INTO T_SUBTASK_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(1,'审批')
- ;
- INSERT INTO T_SUBTASK_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(2,'执行')
- ;
- INSERT INTO T_SUBTASK_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(3,'传阅')
- ;
- INSERT INTO T_SUBTASK_TYPE_SPEC(TYPE_ID,TYPE_NAME) VALUES(4,'撤销')
- ;
- INSERT INTO T_EXECUTOR_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(0,'未执行')
- ;
- INSERT INTO T_EXECUTOR_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(1,'等待执行')
- ;
- INSERT INTO T_EXECUTOR_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(2,'同意')
- ;
- INSERT INTO T_EXECUTOR_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES(3,'拒绝')
- ;
- INSERT INTO T_EXECUTOR_STATUS_SPEC(STATUS_ID,STATUS_NAME) VALUES (4,'回退')
- ;
- INSERT INTO T_WORKFLOW_INSTANCY_TYPE(ID,NAME) VALUES(1,'一般')
- ;
- INSERT INTO T_WORKFLOW_INSTANCY_TYPE(ID,NAME) VALUES(2,'急')
- ;
- INSERT INTO T_WORKFLOW_INSTANCY_TYPE(ID,NAME) VALUES(3,'特急')
- ;
- INSERT INTO T_WORKFLOW_SECURITY_TYPE(ID,NAME) VALUES(1,'一般')
- ;
- INSERT INTO T_WORKFLOW_SECURITY_TYPE(ID,NAME) VALUES(2,'秘密')
- ;
- INSERT INTO T_WORKFLOW_SECURITY_TYPE(ID,NAME) VALUES(3,'机密')
- ;
- INSERT INTO T_WORKFLOW_SECURITY_TYPE(ID,NAME) VALUES(4,'绝密')
- ;
- INSERT INTO T_DOC_RECEIVED_TYPE(ID,NAME) VALUES(1,'上级来文')
- ;
- INSERT INTO T_DOC_RECEIVED_TYPE(ID,NAME) VALUES(2,'下级来文')
- ;
- INSERT INTO T_WORKFLOW_TEMPLATE_TYPE_SPEC(TYPE_ID,NAME,DESCRIPTION) VALUES(1,'个人工作流模板','个人工作流模板')
- ;
- INSERT INTO T_WORKFLOW_TEMPLATE_TYPE_SPEC(TYPE_ID,NAME,DESCRIPTION) VALUES(2,'标准工作流模板','标准工作流模板')
- ;
- -------------------
- --文档数据模块初始化--
- -------------------
- INSERT INTO T_ARCHIVE_TYPE_SPEC(ARCHIVE_TYPE_ID,ARCHIVE_TYPE_SPEC) VALUES(1,'合同')
- ;
- INSERT INTO T_ARCHIVE_TYPE_SPEC(ARCHIVE_TYPE_ID,ARCHIVE_TYPE_SPEC) VALUES(2,'协议')
- ;
- INSERT INTO T_ARCHIVE_TYPE_SPEC(ARCHIVE_TYPE_ID,ARCHIVE_TYPE_SPEC) VALUES(3,'正式公文')
- ;
- INSERT INTO T_ARCHIVE_TYPE_SPEC(ARCHIVE_TYPE_ID,ARCHIVE_TYPE_SPEC) VALUES(4,'请示')
- ;
- INSERT INTO T_ARCHIVE_TYPE_SPEC(ARCHIVE_TYPE_ID,ARCHIVE_TYPE_SPEC) VALUES(5,'汇报')
- ;
- -------------------
- --车辆数据模块初始化--
- -------------------
- INSERT INTO T_AUTOMOBILE_TYPE(TYPE_ID,TYPE_NAME) VALUES(1,'大型客车')
- ;
- INSERT INTO T_AUTOMOBILE_TYPE(TYPE_ID,TYPE_NAME) VALUES(2,'大型货车')
- ;
- INSERT INTO T_AUTOMOBILE_TYPE(TYPE_ID,TYPE_NAME) VALUES(3,'小型客车')
- ;
- INSERT INTO T_AUTOMOBILE_TYPE(TYPE_ID,TYPE_NAME) VALUES(4,'小型货车')
- ;
- INSERT INTO T_AUTOMOBILE_BOOKING_STATUS(STATUS_ID,STATUS_NAME) VALUES(1,'等待')
- ;
- INSERT INTO T_AUTOMOBILE_BOOKING_STATUS(STATUS_ID,STATUS_NAME) VALUES(2,'同意')
- ;
- INSERT INTO T_AUTOMOBILE_BOOKING_STATUS(STATUS_ID,STATUS_NAME) VALUES(3,'拒绝')
- ;
- -------------------
- --会议数据模块初始化--
- -------------------
- INSERT INTO T_CONFERENCE_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(4,'已被取消',' CANCLED_CONFERENCE ')
- ;
- INSERT INTO T_CONFERENCE_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(1,'将要召开','NEW_CONFERENCE')
- ;
- INSERT INTO T_CONFERENCE_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(2,'正在进行','GOINGON_CONFERENCE')
- ;
- INSERT INTO T_CONFERENCE_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(3,'已结束','FINISHED_CONFERENCE')
- ;
- INSERT INTO T_BOARDROOM_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(4,'已被预定','BOOKED_BOARDROOM')
- ;
- INSERT INTO T_BOARDROOM_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(1,'空闲','EMPTY_BOARDROOM')
- ;
- INSERT INTO T_BOARDROOM_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(2,'正在使用','USING_BOARDROOM')
- ;
- INSERT INTO T_BOARDROOM_STATUS(STATUS_ID,STATUS_NAME,DESCRIPTION) VALUES(3,'停止使用','PAUSED_BOARDROOM')
- ;
- ---------------------
- --讨论区数据模块初始化--
- ---------------------
- INSERT INTO JIVEUSER(USERID,USERNAME,PASSWORDhASH,NAME,EMAIL,EMAILVISIBLE,NAMEVISIBLE)
- VALUES(1,'Administrator','31313131','管理员','',1,1)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,0)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,1)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,2)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,3)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,4)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,5)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,6)
- ;
- INSERT INTO jiveUserPerm(forumID,userID,permission) VALUES(-1,1,7)
- ;
- ---------------------
- --权限模块数据初始化----
- ---------------------
- ---***********
- ---个人办公 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(4001,'权限分发','赋予本部门员工一定的权限','个人办公','普通',9)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10692,'登记考勤','登记上、下班信息','个人办公',' 普通',1)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10693,'今日考勤','查看今日考勤信息','个人办公','普通',2)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10697,'发文','管理个人发文','个人办公','普通',13)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10698,'待办事宜','目前等待办理的事宜','个人办公','普通',3)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10699,'已办事宜','查看已经办理的事宜','个人办公','普通',4)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10700,'日程安排','对未来的工作做出时间安排','个人办公','普通',5)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10701,'项目管理','管理工程项目','个人办公','普通',14)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES (10702,'档案查询','查询已备案的电子档案','个人办公','普通',10)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10708,'个人工作流模板','管理个人定义的工作流模板','个人办公','普通',15)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10720,'密码修改','修改个人密码','个人办公','普通',19)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11127,'部门预算',' 制定、查看本部门的项目预算 ','个人办公','普通',8)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11147,'会议安排','制定本人的会议计划','个人办公','普通',7)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11149,'个人信息','查看个人的信息','个人办公','普通',16)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11150,'车辆预订','对可预见的用车时间进行约定','个人办公','普通',6)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11420,'滚动消息管理','管理个人的滚动消息','个人办公','普通',11)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11426,'公告板查询','查询公告板信息','个人办公','普通',12)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11160,'个人工资福利保险','统计个人的工资福利保险信息','个人办公','普通',17)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11161,'个人通信录','管理个人的通信录','个人办公','普通',18)
- ;
- ---***********
- ---通信 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10694,'公告板','发布个人的公告信息','通信','普通',20)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10695,'留言板','发布留言的场所','通信','普通',22)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10696,'消息板','发布消息的场所','通信','普通',23)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11164,'讨论区','自由发表意见的场所','通信','普通',21)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11165,'讨论区管理','管理讨论区,需有讨论区管理员权限','通信','普通',24)
- ;
- ---***********
- ---档案管理 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(3001,'档案管理','管理日常工作的各种文档资料','档案','普通',25)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(3002,'借阅管理','管理文档资料的借阅情况','档案','普通',26)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11162,'归还管理','管理文档资料的归还情况','档案','普通',27)
- ;
- ---***********
- ---领导查询 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11140,'信息查询','公司领导查询各部门发布的信息','领导查询','普通',28)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11141,'信息维护','维护各部门发布的供领导查询的信息','领导查询','普通',29)
- ;
- ---***********
- ---人事管理 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(1000,'组织结构与职位','管理公司组织结构与职位,设置权限','人力资源','普通',30)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(1001,'权限说明','对权限的描述','人力资源','普通',31)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10681,'工资项目设置','设置员工的工资结构','人力资源','普通',34)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10682,'员工培训','管理员工的培训信息','人力资源','普通',36)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11144,'员工信息','管理在职员工的个人信息','人力资源','普通',32)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11145,'离职员工信息','管理离职员工的个人信息','人力资源','普通',33)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11146,'薪酬统计','查询员工的薪酬信息','人力资源','普通',35)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11167,'员工培训统计','统计员工的培训信息','人力资源','普通',37)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11500,'部门考勤时间设置','部门考勤时间设置','人力资源','普通',37)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(20001,'','指定日期考勤统计','人力资源','普通',37)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(20002,'','指定员工考勤统计','人力资源','普通',37)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(20003,'','所有员工考勤统计','人力资源','普通',37)
- ;
- --****************
- --部门考勤时间设置
- --****************
- INSERT INTO T_DIV_ATT_MODE (ON_DUTY_MODE,OFF_DUTY_MODE)
- VALUES( 'MIN','MAX')
- ---***********
- ---办公室 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(2001,'收发文管理','办公室收文,发文的管理','办公室','普通',39)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11163,'固定资产管理','管理公司的固定资产','办公室','普通',38)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(2002,'公用信息维护','维护公司及各部门发布的规章制度,办事指南,内部发行的刊物,客户通信录','办公室','普通',40)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11143,'会议室管理','管理公司会议室信息','办公室','普通',47)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11148,'会议室预定查询','查询预定会议室情况','办公室','普通',48)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11151,'车辆管理','管理公司车辆信息','办公室','普通',42)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11155,'车辆预定管理','管理公司车辆预订信息','办公室','普通',43)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11156,'司机管理','管理公司司机','办公室','普通',44)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES (11157,'车辆出勤登记','登记公司车辆出勤情况','办公室','普通',45)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11158,'车辆行使费用','管理公司车辆行使信息','办公室','普通',46)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11421,'员工通信组维护','维护公司员工通信组','办公室','普通',41)
- ;
- ---***********
- ---财务 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11126,'项目维护','管理公司各部门的项目费用预算','财务','普通',49)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11132,'统计查看','汇总或查看各部门预算的使用情况','财务','普通',50)
- ;
- ---***********
- ---公用信息 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10704,'规章制度','查看公司及各部门发布的规章制度','公用信息','普通',53)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10705,'办事指南','查看公司为员工提供的办事指南','公用信息','普通',54)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10706,'外部通讯录','查看公司客户通信录','公用信息','普通',52)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10707,'内部刊物','查看公司内部发行的刊物','公用信息','普通',55)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11168,'员工通信录','查看公司员工通信录','公用信息','普通',51)
- ;
- ---***********
- ---系统管理 *
- ---***********
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(6001,'数据字典管理','管理系统数据字典','系统管理','普通',56)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(11391,'系统参数设置','设置系统参数','系统管理','普通',57)
- ;
- INSERT INTO T_PRIVILEGE(PRIVILEGE_ID,PRIVILEGE_NAME,DESCRIPTION,GROUP_NAME,TYPE,SEQUENCE)
- VALUES(10689,'标准工作流模板维护','管理标准工作流模板','系统管理','普通',58)
- ;
- ---------------------
- --组织结构模块数据初始化-
- ---------------------
- INSERT INTO T_DIRECTORIES
- (DIRECTORY_ID,DIRECTORY_NAME,SUPER_DIRECTORY_ID,OWNER_ID,IS_LEAF,
- CREATE_DATE,WRITE_CONTROL,READ_CONTROL,TYPE)
- VALUES(1,'root',NULL,10000,0,NULL,1,0,0)
- ;
- INSERT INTO T_DIVISION
- (DIVISION_ID,P_DIVISION_ID,DIVISION_NAME,LOCATION,TELEPHONE,
- FAX,ZIP_CODE,PROVINCE,CITY,MANAGER_ID,DIVISION_DUTY,EMAIL,DIVISION_TYPE)
- VALUES(1,NULL,'铁通总公司','','','','','','',10000,'','','')
- ;
- INSERT INTO T_DIVISION
- (DIVISION_ID,P_DIVISION_ID,DIVISION_NAME,LOCATION,TELEPHONE,FAX,ZIP_CODE,
- PROVINCE,CITY,MANAGER_ID,DIVISION_DUTY,EMAIL,DIVISION_TYPE)
- VALUES(2,1,'人事部','','','','','','',10000,'','','')
- ;
- --**********************************************************
- -- Creating the "Administrator" account of Net-Office System.
- --**********************************************************
- INSERT INTO T_EMP(EMP_ID,TITLE,NAME,USERNAME,DIVISION_ID,PASSWORD) VALUES(10000,'','管理员','Administrator',2,'b59c67bf196a4758191e42f76670ceba')
- ;
- ---------------------
- --职位权限模块数据初始化-
- ---------------------
- INSERT INTO T_DUTY(DUTY_ID,DIVISION_ID,DUTY_TITLE,CURRENT_NUMBER) VALUES(10000,2,'人事部门经理',1)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,1000,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,1001,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,11144,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,11145,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,11146,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,10681,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,10682,10000)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,11167,10000)
- ;
- INSERT INTO T_EMP_X_DUTY(EMP_ID,DUTY_ID,ASSIGNMENT_DATE,ASSIGNER_ID,IS_MAIN_DUTY) VALUES(10000,10000,getDate(),10000,1)
- ;
- INSERT INTO T_DUTY_X_PRIVILEGE(DUTY_ID,PRIVILEGE_ID,ASSIGNER_NO) VALUES(10000,11500,10000)
- ;
- ---------------------
- --分类模块数据初始化-
- ---------------------
- INSERT INTO T_CATEGORY(CATEGORY_ID,PARENT_ID,ISLEAF,CATEGORY_NAME,CREATOR_ID,CREATE_DATE)
- VALUES(1000,NULL,0,'分类根目录',NULL,'2001-10-15')
- ;
- INSERT INTO T_CATEGORY (CATEGORY_ID,PARENT_ID,ISLEAF,CATEGORY_NAME,CREATOR_ID,CREATE_DATE)
- VALUES(2000,1000,0,'固定资产',10000,'2001-10-15')
- ;
- INSERT INTO T_CATEGORY (CATEGORY_ID,PARENT_ID,ISLEAF,CATEGORY_NAME,CREATOR_ID,CREATE_DATE)
- VALUES(3000,1000,0,'文件来源单位',10000,'2001-10-15')
- ;