table.sql
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:35k
源码类别:
Jsp/Servlet
开发平台:
Java
- -----------------------------------------------
- -- Export file for user OA_A --
- -- Created by student on 2008-1-31, 17:09:28 --
- -----------------------------------------------
- spool table.log
- prompt
- prompt Creating table TAFFICHE
- prompt =======================
- prompt
- create table OA_A.TAFFICHE
- (
- AID NUMBER not null,
- ATITLE VARCHAR2(100) not null,
- ACONTENT VARCHAR2(4000),
- AFFIXNAME VARCHAR2(100),
- AFFIXPATH VARCHAR2(100),
- ASEND_TIME VARCHAR2(20),
- AREAL_TIME VARCHAR2(20),
- AREGU_TIME VARCHAR2(10) default 10,
- ASTATE VARCHAR2(2) default '0',
- FUNO VARCHAR2(4),
- UNO VARCHAR2(4),
- AMEMO VARCHAR2(250)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TAFFICHE
- is '电子公告表';
- comment on column OA_A.TAFFICHE.AID
- is '公告ID';
- comment on column OA_A.TAFFICHE.ATITLE
- is '公告标题';
- comment on column OA_A.TAFFICHE.ACONTENT
- is '公告内容';
- comment on column OA_A.TAFFICHE.AFFIXNAME
- is '附件名称';
- comment on column OA_A.TAFFICHE.AFFIXPATH
- is '附件路径';
- comment on column OA_A.TAFFICHE.ASEND_TIME
- is '发布时间';
- comment on column OA_A.TAFFICHE.AREAL_TIME
- is '有效时间';
- comment on column OA_A.TAFFICHE.AREGU_TIME
- is '审查时间 默认10分钟';
- comment on column OA_A.TAFFICHE.ASTATE
- is '审核状态 -1-审核未通过 0-待审核 1-审核通过';
- comment on column OA_A.TAFFICHE.FUNO
- is '发布者';
- comment on column OA_A.TAFFICHE.UNO
- is '审查者';
- comment on column OA_A.TAFFICHE.AMEMO
- is '电子公告备注';
- alter table OA_A.TAFFICHE
- add primary key (AID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TBLACKLIST
- prompt =========================
- prompt
- create table OA_A.TBLACKLIST
- (
- BLACKID VARCHAR2(4) not null,
- USERID VARCHAR2(4),
- BLACKUSERID VARCHAR2(4)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TBLACKLIST
- add primary key (BLACKID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TCHAT
- prompt ====================
- prompt
- create table OA_A.TCHAT
- (
- CID NUMBER not null,
- CSENDTIME VARCHAR2(50),
- CSENDID NUMBER,
- CACCEPID VARCHAR2(200),
- CSENDTYPE VARCHAR2(4),
- CCONTENT VARCHAR2(200),
- CISREAD VARCHAR2(4) default '0',
- CMEMO VARCHAR2(250),
- DID VARCHAR2(2),
- FLAG CHAR(2)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TCHAT
- is '聊天信息表';
- comment on column OA_A.TCHAT.CID
- is '信息编号';
- comment on column OA_A.TCHAT.CSENDTIME
- is '发送时间';
- comment on column OA_A.TCHAT.CSENDID
- is '发送人ID';
- comment on column OA_A.TCHAT.CACCEPID
- is '接收人ID';
- comment on column OA_A.TCHAT.CSENDTYPE
- is '发送类型';
- comment on column OA_A.TCHAT.CCONTENT
- is '发送内容';
- comment on column OA_A.TCHAT.CISREAD
- is '是否已读';
- comment on column OA_A.TCHAT.CMEMO
- is '备注';
- comment on column OA_A.TCHAT.DID
- is '部门ID';
- comment on column OA_A.TCHAT.FLAG
- is '状态';
- alter table OA_A.TCHAT
- add primary key (CID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TDEPT
- prompt ====================
- prompt
- create table OA_A.TDEPT
- (
- DID VARCHAR2(10) not null,
- DNAME VARCHAR2(50),
- UNO NUMBER,
- DFUNCTION VARCHAR2(200),
- DMEMO VARCHAR2(250),
- DFLAG VARCHAR2(8) default '0'
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TDEPT
- is '部门表';
- comment on column OA_A.TDEPT.DID
- is '部门ID';
- comment on column OA_A.TDEPT.DNAME
- is '部门名称';
- comment on column OA_A.TDEPT.UNO
- is '负责人ID';
- comment on column OA_A.TDEPT.DFUNCTION
- is '部门职责';
- comment on column OA_A.TDEPT.DMEMO
- is '部门备注';
- comment on column OA_A.TDEPT.DFLAG
- is '是否冻结';
- alter table OA_A.TDEPT
- add primary key (DID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TEXTERIOR
- prompt ========================
- prompt
- create table OA_A.TEXTERIOR
- (
- EID NUMBER not null,
- EUNIT VARCHAR2(50) not null,
- ETYPE VARCHAR2(20),
- EADDRESS VARCHAR2(100),
- EPHONE VARCHAR2(20) not null,
- EEMAIL VARCHAR2(30),
- ELINKMAN VARCHAR2(30) not null,
- EMEMO VARCHAR2(500),
- EADDTIME VARCHAR2(30) not null,
- UNO VARCHAR2(4) not null
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TEXTERIOR
- is '外联表';
- comment on column OA_A.TEXTERIOR.EID
- is '外联编号';
- comment on column OA_A.TEXTERIOR.EUNIT
- is '单位名称';
- comment on column OA_A.TEXTERIOR.ETYPE
- is '类别';
- comment on column OA_A.TEXTERIOR.EADDRESS
- is '地址';
- comment on column OA_A.TEXTERIOR.EPHONE
- is '联系电话';
- comment on column OA_A.TEXTERIOR.EEMAIL
- is '邮箱';
- comment on column OA_A.TEXTERIOR.ELINKMAN
- is '联系人';
- comment on column OA_A.TEXTERIOR.EMEMO
- is '备注';
- comment on column OA_A.TEXTERIOR.EADDTIME
- is '录入时间';
- comment on column OA_A.TEXTERIOR.UNO
- is '录入人';
- alter table OA_A.TEXTERIOR
- add primary key (EID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TFILE
- prompt ====================
- prompt
- create table OA_A.TFILE
- (
- FILEID VARCHAR2(10) not null,
- FORDERID VARCHAR2(10),
- FILENAME VARCHAR2(200),
- ADDTIME VARCHAR2(20),
- FILESIZE VARCHAR2(20),
- REALPATH VARCHAR2(200),
- VIRTUALPATH VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TFILE
- add primary key (FILEID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TFORDER
- prompt ======================
- prompt
- create table OA_A.TFORDER
- (
- FORDER VARCHAR2(4) not null,
- FORDERNAME VARCHAR2(40),
- USERID VARCHAR2(4),
- USERNAME VARCHAR2(40),
- FATHERID VARCHAR2(10),
- CREATETIME VARCHAR2(20),
- VIRTUALFORDERNAME VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TFORDER
- add primary key (FORDER)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TFORDERMANAGER
- prompt =============================
- prompt
- create table OA_A.TFORDERMANAGER
- (
- MANAGERID VARCHAR2(10) not null,
- FORDERID VARCHAR2(10),
- SHAREID VARCHAR2(10),
- USERID VARCHAR2(10)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TFORDERMANAGER
- add primary key (MANAGERID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TFUJIAN
- prompt ======================
- prompt
- create table OA_A.TFUJIAN
- (
- FUJIANID VARCHAR2(10) not null,
- EMAILID VARCHAR2(10),
- FILENAME VARCHAR2(100),
- FILEPATH VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TFUJIAN
- add primary key (FUJIANID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TFUNCTION
- prompt ========================
- prompt
- create table OA_A.TFUNCTION
- (
- FID NUMBER not null,
- FNAME VARCHAR2(20),
- FPID NUMBER,
- FMEMO VARCHAR2(300),
- FPATH VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TFUNCTION
- is '功能表';
- comment on column OA_A.TFUNCTION.FID
- is '功能表编号';
- comment on column OA_A.TFUNCTION.FNAME
- is '功能名称';
- comment on column OA_A.TFUNCTION.FPID
- is '父功能编号';
- comment on column OA_A.TFUNCTION.FMEMO
- is '备注';
- comment on column OA_A.TFUNCTION.FPATH
- is '菜单路径';
- alter table OA_A.TFUNCTION
- add primary key (FID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table THINTS
- prompt =====================
- prompt
- create table OA_A.THINTS
- (
- UNO VARCHAR2(4) not null,
- HSHOWTYPE VARCHAR2(2) default '1',
- HSHOWTIME VARCHAR2(2) default 10,
- HAFFAIR VARCHAR2(2) default '1',
- HMEETING VARCHAR2(2) default '1',
- HEMAIL VARCHAR2(2) default '1',
- HMEMO VARCHAR2(250)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.THINTS
- is '个人小贴士(提示需要参加的事务、会议以及未读邮件)';
- comment on column OA_A.THINTS.UNO
- is '用户ID';
- comment on column OA_A.THINTS.HSHOWTYPE
- is '显示类型 1-显示 0-不显示';
- comment on column OA_A.THINTS.HSHOWTIME
- is '间隔时间 单位/秒';
- comment on column OA_A.THINTS.HAFFAIR
- is '事务显示 1-显示 0-不显示';
- comment on column OA_A.THINTS.HMEETING
- is '会议显示 1-显示 0-不显示';
- comment on column OA_A.THINTS.HEMAIL
- is '邮件显示 1-显示 0-不显示';
- comment on column OA_A.THINTS.HMEMO
- is '备注';
- prompt
- prompt Creating table TMAILINFO
- prompt ========================
- prompt
- create table OA_A.TMAILINFO
- (
- EMAILID VARCHAR2(4) not null,
- TITLE VARCHAR2(200),
- CONTENT VARCHAR2(4000),
- SENDID VARCHAR2(4),
- SENDNAME VARCHAR2(100),
- RECEIVEID VARCHAR2(500),
- RECEIVENAME VARCHAR2(500),
- SENDTIME VARCHAR2(40),
- ISREAD VARCHAR2(4),
- EMAILTYPE VARCHAR2(4),
- ISFUJIAN VARCHAR2(6)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on column OA_A.TMAILINFO.EMAILTYPE
- is '0:收件箱 1:存草稿 2发件 3:垃圾';
- alter table OA_A.TMAILINFO
- add primary key (EMAILID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TMEET
- prompt ====================
- prompt
- create table OA_A.TMEET
- (
- MID NUMBER not null,
- MTITLE VARCHAR2(100) not null,
- MCONTENT VARCHAR2(500),
- RMID NUMBER,
- MSTARTTIME VARCHAR2(50),
- MENDTIME VARCHAR2(50),
- MUNOS VARCHAR2(500),
- MAFFIXNAME VARCHAR2(100),
- MAFFIXPATH VARCHAR2(100),
- MSTATUS NUMBER default '0',
- MMEMO VARCHAR2(250),
- MPEOPLE NUMBER,
- MCANCLE NUMBER default '0',
- MREASON VARCHAR2(200),
- MIAFFIX NUMBER default '0'
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TMEET
- is '会议管理表';
- comment on column OA_A.TMEET.MID
- is '会议编号';
- comment on column OA_A.TMEET.MTITLE
- is '会议标题';
- comment on column OA_A.TMEET.MCONTENT
- is '会议内容';
- comment on column OA_A.TMEET.RMID
- is '会议室编号';
- comment on column OA_A.TMEET.MSTARTTIME
- is '开始时间';
- comment on column OA_A.TMEET.MENDTIME
- is '结束时间';
- comment on column OA_A.TMEET.MUNOS
- is '与会者';
- comment on column OA_A.TMEET.MAFFIXNAME
- is '附件名称';
- comment on column OA_A.TMEET.MAFFIXPATH
- is '附件路径';
- comment on column OA_A.TMEET.MSTATUS
- is '状态';
- comment on column OA_A.TMEET.MMEMO
- is '备注';
- comment on column OA_A.TMEET.MPEOPLE
- is '主持人';
- comment on column OA_A.TMEET.MCANCLE
- is '是否取消会议 0:否 1:是';
- comment on column OA_A.TMEET.MREASON
- is '取消原因';
- comment on column OA_A.TMEET.MIAFFIX
- is '是否有附件 0:没有 1:有';
- alter table OA_A.TMEET
- add primary key (MID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TMEETINFO
- prompt ========================
- prompt
- create table OA_A.TMEETINFO
- (
- MIID NUMBER not null,
- RMID NUMBER,
- MISTARTTIME VARCHAR2(50),
- MIENDTIME VARCHAR2(50),
- MIUNOS VARCHAR2(200),
- MIINFO VARCHAR2(1000),
- MIAFFIXNAME VARCHAR2(100),
- MIAFFIXPATH VARCHAR2(100),
- MIISDEL VARCHAR2(2) default '0',
- MIMEMO VARCHAR2(500),
- MEPEOPLE NUMBER,
- MINFONAME VARCHAR2(50),
- MINFOCONTENT VARCHAR2(500),
- MAFFIX NUMBER default '0'
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TMEETINFO
- is '会议纪要表';
- comment on column OA_A.TMEETINFO.MIID
- is '会议纪要编号';
- comment on column OA_A.TMEETINFO.RMID
- is '会议室编号';
- comment on column OA_A.TMEETINFO.MISTARTTIME
- is '实际开始时间';
- comment on column OA_A.TMEETINFO.MIENDTIME
- is '实际结束时间';
- comment on column OA_A.TMEETINFO.MIUNOS
- is '实际与会者';
- comment on column OA_A.TMEETINFO.MIINFO
- is '会议主题';
- comment on column OA_A.TMEETINFO.MIAFFIXNAME
- is '附件名称';
- comment on column OA_A.TMEETINFO.MIAFFIXPATH
- is '附件路径';
- comment on column OA_A.TMEETINFO.MIISDEL
- is '状态';
- comment on column OA_A.TMEETINFO.MIMEMO
- is '备注';
- comment on column OA_A.TMEETINFO.MEPEOPLE
- is '主持人';
- comment on column OA_A.TMEETINFO.MINFONAME
- is '会议纪要方题';
- comment on column OA_A.TMEETINFO.MINFOCONTENT
- is '会议纪要内容';
- comment on column OA_A.TMEETINFO.MAFFIX
- is '是否有附件 0:没有 1:有';
- alter table OA_A.TMEETINFO
- add primary key (MIID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TMEETROOM
- prompt ========================
- prompt
- create table OA_A.TMEETROOM
- (
- RMID NUMBER not null,
- RNAME VARCHAR2(20),
- RADDRESS VARCHAR2(20),
- RNUMBER NUMBER,
- RSTATE NUMBER default '0',
- RMEMO VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TMEETROOM
- is '会议室';
- comment on column OA_A.TMEETROOM.RMID
- is '会议室编号';
- comment on column OA_A.TMEETROOM.RNAME
- is '会议室名称';
- comment on column OA_A.TMEETROOM.RADDRESS
- is '会议室地址';
- comment on column OA_A.TMEETROOM.RNUMBER
- is '会议室容量';
- comment on column OA_A.TMEETROOM.RSTATE
- is '会议室状态 0:未使用 1:使用中 2:维修中 ';
- comment on column OA_A.TMEETROOM.RMEMO
- is '备注';
- alter table OA_A.TMEETROOM
- add primary key (RMID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TPARAM
- prompt =====================
- prompt
- create table OA_A.TPARAM
- (
- PID NUMBER not null,
- TID NUMBER not null,
- PNAME VARCHAR2(30) not null,
- PMEMO VARCHAR2(50)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TPARAM
- is '参数表';
- comment on column OA_A.TPARAM.PID
- is '参数编号';
- comment on column OA_A.TPARAM.TID
- is '类型编号';
- comment on column OA_A.TPARAM.PNAME
- is '参数名称';
- comment on column OA_A.TPARAM.PMEMO
- is '参数备注';
- alter table OA_A.TPARAM
- add primary key (PID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TRANSPOWER
- prompt =========================
- prompt
- create table OA_A.TRANSPOWER
- (
- TPID NUMBER not null,
- RTID NUMBER,
- UNO VARCHAR2(300),
- RQID VARCHAR2(300),
- TPNO NUMBER not null
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TRANSPOWER
- is '事务权限表';
- comment on column OA_A.TRANSPOWER.TPID
- is '事务环节编号';
- comment on column OA_A.TRANSPOWER.RTID
- is '事务类别编号';
- comment on column OA_A.TRANSPOWER.UNO
- is '事务处理权限用户';
- comment on column OA_A.TRANSPOWER.RQID
- is '事务处理权限角色';
- comment on column OA_A.TRANSPOWER.TPNO
- is '事务权限流水号';
- alter table OA_A.TRANSPOWER
- add primary key (TPNO)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TRANSREQ
- prompt =======================
- prompt
- create table OA_A.TRANSREQ
- (
- RQID NUMBER not null,
- RTITLE VARCHAR2(100),
- UNO VARCHAR2(4),
- TNO NUMBER,
- RGRADE VARCHAR2(2),
- RSTARTTIME VARCHAR2(50),
- RENDTIME VARCHAR2(50),
- RNEXTTIME VARCHAR2(50),
- RLASTTIME VARCHAR2(50),
- RDETAIL VARCHAR2(500),
- RSTATUS VARCHAR2(2) default '0',
- RMEMO VARCHAR2(250)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TRANSREQ
- is '事务发起表';
- comment on column OA_A.TRANSREQ.RQID
- is '事务发起编号';
- comment on column OA_A.TRANSREQ.RTITLE
- is '事务标题';
- comment on column OA_A.TRANSREQ.UNO
- is '事务发起人编号';
- comment on column OA_A.TRANSREQ.TNO
- is '事务类别编号';
- comment on column OA_A.TRANSREQ.RGRADE
- is '事务紧急程度,0-一般,1-重要,2-紧急';
- comment on column OA_A.TRANSREQ.RSTARTTIME
- is '事务开始时间';
- comment on column OA_A.TRANSREQ.RENDTIME
- is '事务结束时间';
- comment on column OA_A.TRANSREQ.RNEXTTIME
- is '事务下环节期望时间';
- comment on column OA_A.TRANSREQ.RLASTTIME
- is '事务期望完成时间';
- comment on column OA_A.TRANSREQ.RDETAIL
- is '事务详细内容';
- comment on column OA_A.TRANSREQ.RSTATUS
- is '事务状态';
- comment on column OA_A.TRANSREQ.RMEMO
- is '事务备注';
- alter table OA_A.TRANSREQ
- add primary key (RQID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TRANSSTEP
- prompt ========================
- prompt
- create table OA_A.TRANSSTEP
- (
- SID NUMBER not null,
- RQID NUMBER,
- SCURRENTID NUMBER,
- UNO VARCHAR2(4),
- SSTATUS VARCHAR2(2) default '0',
- SPRESTEP NUMBER,
- SNEXTUNO VARCHAR2(4),
- SCURRENTTIME VARCHAR2(50),
- SNEXTTIME VARCHAR2(50),
- SRESULT VARCHAR2(2),
- SDETAIL VARCHAR2(100),
- SNAME VARCHAR2(100),
- SPATH VARCHAR2(100)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TRANSSTEP
- is '事务步骤表';
- comment on column OA_A.TRANSSTEP.SID
- is '事务环节流水号';
- comment on column OA_A.TRANSSTEP.RQID
- is '事务发起编号';
- comment on column OA_A.TRANSSTEP.SCURRENTID
- is '事务当前环节序号';
- comment on column OA_A.TRANSSTEP.UNO
- is '事务当前环节负责人编号';
- comment on column OA_A.TRANSSTEP.SSTATUS
- is '事务当前环节状态';
- comment on column OA_A.TRANSSTEP.SPRESTEP
- is '事务上一环节编号';
- comment on column OA_A.TRANSSTEP.SNEXTUNO
- is '事务下一环节负责人编号';
- comment on column OA_A.TRANSSTEP.SCURRENTTIME
- is '事务当前环节期望时间';
- comment on column OA_A.TRANSSTEP.SNEXTTIME
- is '事务下一环节期望时间';
- comment on column OA_A.TRANSSTEP.SRESULT
- is '事务当前环节审核结果';
- comment on column OA_A.TRANSSTEP.SDETAIL
- is '事务当前环节审核说明';
- comment on column OA_A.TRANSSTEP.SNAME
- is '事务当前环节附件名称';
- comment on column OA_A.TRANSSTEP.SPATH
- is '事务当前环节附件路径';
- alter table OA_A.TRANSSTEP
- add primary key (SID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TRANSTYPE
- prompt ========================
- prompt
- create table OA_A.TRANSTYPE
- (
- RTID NUMBER not null,
- TNAME VARCHAR2(50),
- TXMLPATH VARCHAR2(100),
- TTIME VARCHAR2(30),
- UNO VARCHAR2(4),
- TFLAG VARCHAR2(2) default '0',
- TSTEP NUMBER default 1,
- TRID VARCHAR2(300)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TRANSTYPE
- is '事务类别表';
- comment on column OA_A.TRANSTYPE.RTID
- is '事务类别编号';
- comment on column OA_A.TRANSTYPE.TNAME
- is '事务类别名称';
- comment on column OA_A.TRANSTYPE.TXMLPATH
- is '事务类别XML路径';
- comment on column OA_A.TRANSTYPE.TTIME
- is '事务类别定制时间';
- comment on column OA_A.TRANSTYPE.UNO
- is '事务类别定制人编号';
- comment on column OA_A.TRANSTYPE.TFLAG
- is '事务类别可用状态';
- comment on column OA_A.TRANSTYPE.TSTEP
- is '事务类别步骤数';
- comment on column OA_A.TRANSTYPE.TRID
- is '类别拥有角色编号';
- alter table OA_A.TRANSTYPE
- add primary key (RTID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TROLE
- prompt ====================
- prompt
- create table OA_A.TROLE
- (
- RID NUMBER not null,
- RNAME VARCHAR2(20),
- RMEMO VARCHAR2(200)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TROLE
- is '角色表';
- comment on column OA_A.TROLE.RID
- is '角色编号';
- comment on column OA_A.TROLE.RNAME
- is '角色名称';
- comment on column OA_A.TROLE.RMEMO
- is '备注';
- alter table OA_A.TROLE
- add primary key (RID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TROLEFUNCTION
- prompt ============================
- prompt
- create table OA_A.TROLEFUNCTION
- (
- RFID VARCHAR2(10) not null,
- RID NUMBER,
- FID NUMBER
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TROLEFUNCTION
- add primary key (RFID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TSHARPFILE
- prompt =========================
- prompt
- create table OA_A.TSHARPFILE
- (
- SHARPID NUMBER not null,
- FILEID NUMBER,
- UNO VARCHAR2(4)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TSHARPFILE
- is '文件共享表';
- comment on column OA_A.TSHARPFILE.SHARPID
- is '共享表ID';
- comment on column OA_A.TSHARPFILE.FILEID
- is '文件表ID';
- comment on column OA_A.TSHARPFILE.UNO
- is '用户ID';
- alter table OA_A.TSHARPFILE
- add primary key (SHARPID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TTYPE
- prompt ====================
- prompt
- create table OA_A.TTYPE
- (
- TID NUMBER not null,
- TNAME VARCHAR2(20),
- TMEMO VARCHAR2(50)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TTYPE
- is '参数类型表';
- comment on column OA_A.TTYPE.TID
- is '类型编号';
- comment on column OA_A.TTYPE.TNAME
- is '类型名称';
- comment on column OA_A.TTYPE.TMEMO
- is '类型备注';
- alter table OA_A.TTYPE
- add primary key (TID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TTYPEROLE
- prompt ========================
- prompt
- create table OA_A.TTYPEROLE
- (
- TR_ID NUMBER not null,
- RTID VARCHAR2(10),
- RID VARCHAR2(10)
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TTYPEROLE
- is '事务类别拥有角色关系表';
- comment on column OA_A.TTYPEROLE.TR_ID
- is '流水号';
- comment on column OA_A.TTYPEROLE.RTID
- is '事务类型编号';
- comment on column OA_A.TTYPEROLE.RID
- is '拥有角色编号';
- alter table OA_A.TTYPEROLE
- add primary key (TR_ID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TUSER
- prompt ====================
- prompt
- create table OA_A.TUSER
- (
- UNO VARCHAR2(4) not null,
- DID VARCHAR2(2) not null,
- UNAME VARCHAR2(20) not null,
- UPWD VARCHAR2(20) not null,
- USEX VARCHAR2(2),
- UAREA VARCHAR2(50),
- UWORK VARCHAR2(2),
- UPHONE VARCHAR2(20),
- UEMAIL VARCHAR2(50),
- UMOBILE VARCHAR2(20),
- UADDRESS VARCHAR2(100),
- UISMARRYED VARCHAR2(2),
- UISONLINE VARCHAR2(2) default '0',
- UISLOCKED VARCHAR2(2) default '0',
- UMEMO VARCHAR2(100),
- UIDCARD VARCHAR2(20),
- UADDTIME VARCHAR2(30),
- UTRUENAME VARCHAR2(20) not null
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- comment on table OA_A.TUSER
- is '用户表';
- comment on column OA_A.TUSER.UNO
- is '用户编号';
- comment on column OA_A.TUSER.DID
- is '部门编号';
- comment on column OA_A.TUSER.UNAME
- is '用户名称';
- comment on column OA_A.TUSER.UPWD
- is '用户密码';
- comment on column OA_A.TUSER.USEX
- is '用户性别''1''男''0''女';
- comment on column OA_A.TUSER.UAREA
- is '用户地区';
- comment on column OA_A.TUSER.UWORK
- is '用户职位';
- comment on column OA_A.TUSER.UPHONE
- is '固定电话';
- comment on column OA_A.TUSER.UEMAIL
- is '邮箱';
- comment on column OA_A.TUSER.UMOBILE
- is '手机';
- comment on column OA_A.TUSER.UADDRESS
- is '地址';
- comment on column OA_A.TUSER.UISMARRYED
- is '婚否';
- comment on column OA_A.TUSER.UISONLINE
- is '是否在线';
- comment on column OA_A.TUSER.UISLOCKED
- is '冻结';
- comment on column OA_A.TUSER.UMEMO
- is '备注';
- comment on column OA_A.TUSER.UIDCARD
- is '身份证号码';
- comment on column OA_A.TUSER.UADDTIME
- is '加入时间';
- comment on column OA_A.TUSER.UTRUENAME
- is '真实姓名';
- alter table OA_A.TUSER
- add primary key (UNO)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating table TUSERROLE
- prompt ========================
- prompt
- create table OA_A.TUSERROLE
- (
- URID VARCHAR2(10) not null,
- UNO VARCHAR2(4),
- RID NUMBER
- )
- tablespace SYSTEM
- pctfree 10
- pctused 40
- initrans 1
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- alter table OA_A.TUSERROLE
- add primary key (URID)
- using index
- tablespace SYSTEM
- pctfree 10
- initrans 2
- maxtrans 255
- storage
- (
- initial 64K
- minextents 1
- maxextents unlimited
- );
- prompt
- prompt Creating sequence SEQ_T_AFFICHE
- prompt ===============================
- prompt
- create sequence OA_A.SEQ_T_AFFICHE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_BLACKLIST
- prompt =================================
- prompt
- create sequence OA_A.SEQ_T_BLACKLIST
- minvalue 1
- maxvalue 999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_CHAT
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_CHAT
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_DEPT
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_DEPT
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_EMAILINFO
- prompt =================================
- prompt
- create sequence OA_A.SEQ_T_EMAILINFO
- minvalue 1
- maxvalue 9999999999999999999999
- start with 202
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_EXTERIOR
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_EXTERIOR
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_FILE
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_FILE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_FORDER
- prompt ==============================
- prompt
- create sequence OA_A.SEQ_T_FORDER
- minvalue 1
- maxvalue 9999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_FORDERMANAGER
- prompt =====================================
- prompt
- create sequence OA_A.SEQ_T_FORDERMANAGER
- minvalue 1
- maxvalue 999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_FUJIAN
- prompt ==============================
- prompt
- create sequence OA_A.SEQ_T_FUJIAN
- minvalue 1
- maxvalue 999999999999999999999999
- start with 202
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_FUNCTION
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_FUNCTION
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 205
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_MEET
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_MEET
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_MEETINFO
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_MEETINFO
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_MEETROOM
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_MEETROOM
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_PARAM
- prompt =============================
- prompt
- create sequence OA_A.SEQ_T_PARAM
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 206
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_RANSPOWER
- prompt =================================
- prompt
- create sequence OA_A.SEQ_T_RANSPOWER
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 205
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_RANSREQ
- prompt ===============================
- prompt
- create sequence OA_A.SEQ_T_RANSREQ
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_RANSSTEP
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_RANSSTEP
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_RANSTYPE
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_RANSTYPE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 201
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_ROLE
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_ROLE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_ROLEFUNCTION
- prompt ====================================
- prompt
- create sequence OA_A.SEQ_T_ROLEFUNCTION
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_SHARPFILE
- prompt =================================
- prompt
- create sequence OA_A.SEQ_T_SHARPFILE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_TYPE
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_TYPE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 205
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_TYPEROLE
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_TYPEROLE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 202
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_USER
- prompt ============================
- prompt
- create sequence OA_A.SEQ_T_USER
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- prompt
- prompt Creating sequence SEQ_T_USERROLE
- prompt ================================
- prompt
- create sequence OA_A.SEQ_T_USERROLE
- minvalue 1
- maxvalue 999999999999999999999999999
- start with 200
- increment by 1
- cache 20;
- spool off