|
|
SET ANSI_NULLS ON
|
|
|
GO
|
|
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
|
GO
|
|
|
|
|
|
SET ANSI_PADDING ON
|
|
|
GO
|
|
|
/*计划任务表*/
|
|
|
CREATE TABLE [dbo].[t_op_task](
|
|
|
[pl_id] [int] IDENTITY(1,1) NOT NULL,
|
|
|
[任务编号] [varchar](60) NOT NULL,
|
|
|
[上级任务号] [varchar](60) NOT NULL, -- (子任务情况)
|
|
|
[任务类型] [varchar](60) NULL, -- (正本挂单、BC、VC,INV)
|
|
|
[任务来源] [varchar](20) NULL, -- (邮件、FTP、人工)
|
|
|
[任务状态] [varchar](20) NULL, -- (未开始,进行中,完成)
|
|
|
[任务说明] [varchar](100) NULL,---// 处理状态:............
|
|
|
[发起人] [varchar](10) NOT NULL,
|
|
|
[录入日期] [smalldatetime] NOT NULL,
|
|
|
[任务开始时间] [smalldatetime] NOT NULL,
|
|
|
[完成方式] [varchar](100) NULL, -- (手工,发送邮件,导入数据等)
|
|
|
[完成时间] [smalldatetime] NOT NULL,
|
|
|
[KPI值] [Float](20) NULL,
|
|
|
[业务编号] [varchar](20) NULL,
|
|
|
[文件编号] [varchar](60) NULL,--ftp文档编号
|
|
|
[邮件编号] [varchar](60) NULL,
|
|
|
[电子档案路径] [varchar](300) NULL,
|
|
|
[是否公共] bit default 0,-- 未匹配的公共
|
|
|
[业务编号1] [varchar](20) NULL,
|
|
|
CONSTRAINT [PK_t_op_task] PRIMARY KEY
|
|
|
(
|
|
|
[pl_id] ASC
|
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
|
|
|
) ON [PRIMARY]
|