数据表:T_WF_TEMPLATEORG(流程组织维度权限)

T_WF_TEMPLATEORG(流程组织维度权限):描述

名称

T_WF_TEMPLATEORG(流程组织维度权限)

代码

T_WF_TEMPLATEORG

注释

 

模型

BOS

主键

Key_wf_templateorg


T_WF_TEMPLATEORG(流程组织维度权限):列规格定义

名称

代码

数据类型

长度

强制

注释

流程组织权限维度Id

FTmpOrgId

int

 

TRUE

 

模板Id

FTmpId

int

 

FALSE

 

组织Id

FOrgId

int

 

TRUE

 


T_WF_TEMPLATEORG(流程组织维度权限):脚本代码

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

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

/*==============================================================*/
/* Table: T_WF_TEMPLATEORG */
/*==============================================================*/
create table T_WF_TEMPLATEORG (
FTmpOrgId int not null default 0,
FTmpId int null,
FOrgId int not null default 0,
constraint PK_WF_TEMPLATEORG primary key (FTmpOrgId)
)
go

/*==============================================================*/
/* Index: idx_WF_TEMPLATEORG_TMPID */
/*==============================================================*/
create index idx_WF_TEMPLATEORG_TMPID on T_WF_TEMPLATEORG (
FTmpId ASC
)
go


T_WF_TEMPLATEORG(流程组织维度权限):键值定义

名称

代码

主要的

Key_wf_templateorg

Key_wf_templateorg

TRUE


T_WF_TEMPLATEORG(流程组织维度权限):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_WF_TEMPLATEORG_TMPID

idx_WF_TEMPLATEORG_TMPID

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_TEMPLATEORG(流程组织维度权限)