序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | DocID | int | 4 | 0 | 是 | 公文ID | ||||
3 | ViewUserIDS | varchar | 8000 | 0 | 是 | 浏览人ID | ||||
4 | EditUserIDS | varchar | 8000 | 0 | 是 | 编辑人ID | ||||
5 | ZStatus | int | 4 | 0 | 是 | |||||
6 | UserID | int | 4 | 0 | 是 | |||||
7 | CDate | datetime | 8 | 3 | 是 | |||||
8 | EndDate | datetime | 8 | 3 | 是 | 终止日期 |
OA公文传阅记录
GO
CREATE TABLE [dbo].[ZL_OA_FreePro](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProID] [int] NULL,
[stepNum] [int] NOT NULL,
[stepName] [nvarchar](50) NULL,
[SendMan] [varchar](8000) NULL,
[ReferUser] [varchar](8000) NULL,
[ReferGroup] [varchar](8000) NULL,
[CCUser] [varchar](8000) NULL,
[CCGroup] [varchar](8000) NULL,
[HQoption] [int] NULL,
[Qzzjoption] [int] NULL,
[HToption] [int] NULL,
[EmailAlert] [varchar](8000) NULL,
[EmailGroup] [varchar](8000) NULL,
[SmsAlert] [varchar](8000) NULL,
[SmsGroup] [varchar](8000) NULL,
[BackOption] [int] NULL,
[PublicAttachOption] [int] NULL,
[PrivateAttachOption] [int] NULL,
[Status] [int] NULL,
[CreateTime] [datetime] NULL,
[Remind] [nvarchar](100) NULL,
[CanEditField] [varchar](3000) NULL,
[DocAuth] [varchar](500) NULL,
[ReferUser_Alias] [nvarchar](50) NULL,
[CCUser_Alias] [nvarchar](50) NULL,
[CCUser_Allow] [int] NULL,
[NextOP] [nvarchar](4000) NULL,
[HelpUser_Alias] [nvarchar](50) NULL,
[HelpUser_Allow] [int] NULL,
[HelpUser] [varchar](8000) NULL,
[StepAuth] [ntext] NULL,
[ParentID] [int] NULL,
[OrginStepID] [int] NULL,
CONSTRAINT [PK_ZL_OA_FreePro] PRIMARY KEY NONCLUSTERED
([ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
detele from ZL_OA_DocView
drop table ZL_OA_DocView
TRUNCATE table ZL_OA_DocView