数据表:T_WF_ASSIGN(待办任务)

T_WF_ASSIGN(待办任务):描述

名称

T_WF_ASSIGN(待办任务)

代码

T_WF_ASSIGN

注释

交互式任务创建的待办任务表

模型

BOS

主键

pk_wf_assign


T_WF_ASSIGN(待办任务):列规格定义

名称

代码

数据类型

长度

强制

注释

待办任务内码

FASSIGNID

varchar(36)

36

TRUE

 

流程实例内码

FPROCINSTID

varchar(36)

36

TRUE

 

节点实例内码

FACTINSTID

varchar(36)

36

TRUE

 

动作序号

FActionEventId

int

 

TRUE

存储任务对应的节点动作序号

发送人内码

FSENDERID

int

 

TRUE

 

创建时间

FCREATETIME

datetime

 

FALSE

 

完成时间

FCOMPLETEDTIME

datetime

 

FALSE

 

处理状态

FSTATUS

char(1)

1

TRUE

0:未处理;1:已处理

接收人名称

FRECEIVERNAMES

nvarchar(255)

255

FALSE

 

前一任务处理内码

FPreApprovalAssignId

varchar(36)

36

FALSE

据此关联查询上一步任务处理人、处理意见

云之家消息内码

FYZJMSGID

varchar(36)

36

FALSE

 


T_WF_ASSIGN(待办任务):脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_WF_ASSIGN')
and name = 'IDX_WF_ASSIGN_SENDER'
and indid > 0
and indid < 255)
drop index T_WF_ASSIGN.IDX_WF_ASSIGN_SENDER
go

if exists (select 1
from sysindexes
where id = object_id('T_WF_ASSIGN')
and name = 'IDX_WF_ASSIGN_ACTINST'
and indid > 0
and indid < 255)
drop index T_WF_ASSIGN.IDX_WF_ASSIGN_ACTINST
go

if exists (select 1
from sysindexes
where id = object_id('T_WF_ASSIGN')
and name = 'IDX_WF_ASSIGN_PROCINST'
and indid > 0
and indid < 255)
drop index T_WF_ASSIGN.IDX_WF_ASSIGN_PROCINST
go

if exists (select 1
from sysobjects
where id = object_id('T_WF_ASSIGN')
and type = 'U')
drop table T_WF_ASSIGN
go

/*==============================================================*/
/* Table: T_WF_ASSIGN */
/*==============================================================*/
create table T_WF_ASSIGN (
FASSIGNID varchar(36) not null default NEWID(),
FPROCINSTID varchar(36) not null default '',
FACTINSTID varchar(36) not null default '',
FActionEventId int not null default 0,
FSENDERID int not null default 0,
FCREATETIME datetime null,
FCOMPLETEDTIME datetime null,
FSTATUS char(1) not null default '0',
FRECEIVERNAMES nvarchar(255) null,
FPreApprovalAssignId varchar(36) null default '',
FYZJMSGID varchar(36) null default ' ',
constraint PK_WF_ASSIGN primary key (FASSIGNID)
)
go

/*==============================================================*/
/* Index: IDX_WF_ASSIGN_PROCINST */
/*==============================================================*/
create index IDX_WF_ASSIGN_PROCINST on T_WF_ASSIGN (
FPROCINSTID ASC
)
go

/*==============================================================*/
/* Index: IDX_WF_ASSIGN_ACTINST */
/*==============================================================*/
create index IDX_WF_ASSIGN_ACTINST on T_WF_ASSIGN (
FACTINSTID ASC
)
go

/*==============================================================*/
/* Index: IDX_WF_ASSIGN_SENDER */
/*==============================================================*/
create index IDX_WF_ASSIGN_SENDER on T_WF_ASSIGN (
FSENDERID ASC
)
go


T_WF_ASSIGN(待办任务):键值定义

名称

代码

主要的

pk_wf_assign

PK_WF_ASSIGN

TRUE


T_WF_ASSIGN(待办任务):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_WF_ASSIGN_PROCINST

IDX_WF_ASSIGN_PROCINST

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_ASSIGN(待办任务)

IDX_WF_ASSIGN_ACTINST

IDX_WF_ASSIGN_ACTINST

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_ASSIGN(待办任务)

IDX_WF_ASSIGN_SENDER

IDX_WF_ASSIGN_SENDER

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_ASSIGN(待办任务)