数据表:T_WF_AsyncSendMessage_His(异步发送的消息)

T_WF_AsyncSendMessage_His(异步发送的消息):描述

名称

T_WF_AsyncSendMessage_His(异步发送的消息)

代码

T_WF_AsyncSendMessage_His

注释

记录异步发送的消息及上下文信息,由消息服务(后台服务进程)读取并处理

模型

BOS

主键

Key_1


T_WF_AsyncSendMessage_His(异步发送的消息):列规格定义

名称

代码

数据类型

长度

强制

注释

消息ID

FMessageID

bigint

 

TRUE

 

上下文对象

FContext

image

 

TRUE

 

消息对象

FMessageObj

image

 

TRUE

 

服务

FServiceType

varchar(200)

200

TRUE

 

创建时间

FCreateTime

datetime

 

TRUE

 

处理状态

FProcessStatus

char(1)

1

TRUE

0 未处理 1 已处理 2 处理失败

处理时间

FProcessTime

datetime

 

FALSE

 

发送服务器ip

FSendServerIP

varchar(50)

50

FALSE

 


T_WF_AsyncSendMessage_His(异步发送的消息):脚本代码

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

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

/*==============================================================*/
/* Table: T_WF_AsyncSendMessage_His */
/*==============================================================*/
create table T_WF_AsyncSendMessage_His (
FMessageID bigint not null,
FContext image not null,
FMessageObj image not null,
FServiceType varchar(200) not null,
FCreateTime datetime not null,
FProcessStatus char(1) not null default '0',
FProcessTime datetime null default getdate(),
FSendServerIP varchar(50) null,
constraint PK_WF_ASYNCMESSAGESEND_HIS primary key (FMessageID)
)
go

/*==============================================================*/
/* Index: idx_WF_AsyncMsgSend_H_Date */
/*==============================================================*/
create index idx_WF_AsyncMsgSend_H_Date on T_WF_AsyncSendMessage_His (
FCreateTime ASC,
FProcessStatus ASC
)
go


T_WF_AsyncSendMessage_His(异步发送的消息):键值定义

名称

代码

主要的

Key_1

Key_1

TRUE


T_WF_AsyncSendMessage_His(异步发送的消息):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_WF_AsyncMsgSend_H_Date

idx_WF_AsyncMsgSend_H_Date

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_AsyncSendMessage_His(异步发送的消息)