序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | ProID | int | 4 | 0 | 否 | 所属流程ID | ||||
3 | stepNum | int | 4 | 0 | 否 | 序号 | ||||
4 | stepName | nvarchar | 50 | 0 | 是 | 步骤名 | ||||
5 | SendMan | varchar | 8000 | 0 | 是 | 允许发起人 | ||||
6 | ReferUser | varchar | 8000 | 0 | 是 | 经办人 | ||||
7 | ReferGroup | varchar | 8000 | 0 | 是 | 经办组 | ||||
8 | CCUser | varchar | 8000 | 0 | 是 | 抄送人 | ||||
9 | CCGroup | varchar | 8000 | 0 | 是 | 抄送组 | ||||
10 | HQoption | int | 4 | 0 | 是 | 会签选项0:不启用会签,1:启用会签 | ||||
11 | Qzzjoption | int | 4 | 0 | 是 | 强制转交 | ||||
12 | HToption | int | 4 | 0 | 是 | 回退选项0:不允许,1:允许回到步一步,2:允许回到之前步骤 | ||||
13 | EmailAlert | varchar | 8000 | 0 | 是 | 转交流程时,需email提醒人 | ||||
14 | EmailGroup | varchar | 8000 | 0 | 是 | 转交流程时,需email提醒组 | ||||
15 | SmsAlert | varchar | 8000 | 0 | 是 | 转交流程时,需短信提醒人 | ||||
16 | SmsGroup | varchar | 8000 | 0 | 是 | 转交流程时,需短信提醒组 | ||||
17 | BackOption | int | 4 | 0 | 是 | 原预留,现用于自由流程,存储文档ID | ||||
18 | PublicAttachOption | int | 4 | 0 | 是 | 公共附件选项0:不允许,1:允许 | ||||
19 | PrivateAttachOption | int | 4 | 0 | 是 | 私人附件选项 | ||||
20 | Status | int | 4 | 0 | 是 | 状态 | ||||
21 | CreateTime | datetime | 8 | 3 | 是 | 创建时间 | ||||
22 | Remind | nvarchar | 100 | 0 | 是 | 备注信息 | ||||
23 | CanEditField | varchar | 1000 | 0 | 是 | 当前步骤下,允许主办人修改的字段列表 | ||||
24 | DocAuth | varchar | 500 | 0 | 是 | 下一步骤权限,refer:经办人,sender:主办人,all:经办和主办(自由流程为主办人权限) | ||||
25 | ReferUser_Alias | nvarchar | 50 | 0 | 是 | 主办人别名 | ||||
26 | CCUser_Alias | nvarchar | 50 | 0 | 是 | 协办人kjl名 | ||||
27 | CCUser_Allow | int | 4 | 0 | 是 | 协办人权限 | ||||
28 | NextOP | nvarchar | 4000 | 0 | 是 | 下一步权限 | ||||
29 | HelpUser_Alias | nvarchar | 50 | 0 | 是 | 辅办人别名 | ||||
30 | HelpUser_Allow | int | 4 | 0 | 是 | 辅办人权限 | ||||
31 | HelpUser | varchar | 8000 | 0 | 是 | 辅办人 | ||||
32 | StepAuth | ntext | 16 | 0 | 是 | 步骤权限 | ||||
33 | ParentID | int | 4 | 0 | 是 | |||||
34 | OrginStepID | int | 4 | 0 | 是 |
OA公文流程表
GO
CREATE TABLE [dbo].[ZL_MisProLevel](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProID] [int] NOT 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](1000) 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_MisProLevel] 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]
SET IDENTITY_INSERT [ZL_MisProLevel] ON
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 1,1,1,N'拟办',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:31:12',N'拟办',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 2,1,2,N'领导批示',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:31:30',N'领导批示',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 3,1,3,N'办理',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:32:14',N'办理',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 4,1,4,N'传阅',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:32:40',N'传阅',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 5,2,1,N'核稿',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:33:15',N'核稿',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 6,2,2,N'审批',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:33:34',N'审批',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 7,2,3,N'签发或会签',N',,',1,0,2,0,0,0,1,N'2015/8/3 11:33:54',N'签发或会签',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 8,2,4,N'送编号',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:34:07',N'送编号',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 9,2,5,N'清稿',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:34:21',N'清稿',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 10,2,6,N'签章',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:34:36',N'签章',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 11,3,1,N'申请',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:35:49',N'申请',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 12,3,2,N'审核',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:36:07',N'审核',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 13,4,1,N'申请会议',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:36:29',N'申请会议',N',*,',N'refer',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[Remind],[CanEditField],[DocAuth],[ParentID]) VALUES ( 14,4,2,N'安排会议室',N',,',1,0,2,0,0,0,1,N'2015/8/3 11:37:03',N'安排会议室',N',*,',N'all',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[CanEditField],[DocAuth],[ParentID]) VALUES ( 15,4,3,N'确定时间',N',,',1,0,1,0,0,0,1,N'2015/8/3 11:37:25',N',*,',N'all',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[CanEditField],[DocAuth],[ParentID]) VALUES ( 16,4,4,N'安排会议',N',,',1,0,2,0,0,0,1,N'2015/8/3 11:37:42',N',*,',N'sender',0)
INSERT [ZL_MisProLevel] ([ID],[ProID],[stepNum],[stepName],[SendMan],[HQoption],[Qzzjoption],[HToption],[BackOption],[PublicAttachOption],[PrivateAttachOption],[Status],[CreateTime],[CanEditField],[DocAuth],[ParentID]) VALUES ( 17,4,5,N'确定会议',N',,',1,0,0,0,0,0,1,N'2015/8/3 11:37:57',N',*,',N'refer',0)
SET IDENTITY_INSERT [ZL_MisProLevel] OFF
detele from ZL_MisProLevel
drop table ZL_MisProLevel
TRUNCATE table ZL_MisProLevel