表名:ZL_MisProLevel












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2ProIDint40    所属流程ID
3stepNumint40    序号
4stepNamenvarchar500    步骤名
5SendManvarchar80000    允许发起人
6ReferUservarchar80000    经办人
7ReferGroupvarchar80000    经办组
8CCUservarchar80000    抄送人
9CCGroupvarchar80000    抄送组
10HQoptionint40    会签选项0:不启用会签,1:启用会签
11Qzzjoptionint40    强制转交
12HToptionint40    回退选项0:不允许,1:允许回到步一步,2:允许回到之前步骤
13EmailAlertvarchar80000    转交流程时,需email提醒人
14EmailGroupvarchar80000    转交流程时,需email提醒组
15SmsAlertvarchar80000    转交流程时,需短信提醒人
16SmsGroupvarchar80000    转交流程时,需短信提醒组
17BackOptionint40    原预留,现用于自由流程,存储文档ID
18PublicAttachOptionint40    公共附件选项0:不允许,1:允许
19PrivateAttachOptionint40    私人附件选项
20Statusint40    状态
21CreateTimedatetime83    创建时间
22Remindnvarchar1000    备注信息
23CanEditFieldvarchar10000    当前步骤下,允许主办人修改的字段列表
24DocAuthvarchar5000    下一步骤权限,refer:经办人,sender:主办人,all:经办和主办(自由流程为主办人权限)
25ReferUser_Aliasnvarchar500    主办人别名
26CCUser_Aliasnvarchar500    协办人kjl名
27CCUser_Allowint40    协办人权限
28NextOPnvarchar40000    下一步权限
29HelpUser_Aliasnvarchar500    辅办人别名
30HelpUser_Allowint40    辅办人权限
31HelpUservarchar80000    辅办人
32StepAuthntext160    步骤权限
33ParentIDint40     
34OrginStepIDint40     

简要说明:

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

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_MisProLevel