表名:ZL_Shop_PrintMessage












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2MsgNonvarchar500    信息/订单编号
3Modeint40    发送打印信息的格式类型,1 表示格式化信息,2 表示自定义格式
4Detailnvarchar40000    打印的数据/信息内容
5TaskStatusnvarchar1000    打印任务状态 0:队列中 1:已完成 2:请求失败 9:请求已发送
6ReqTimedatetime83    本次API请求发生的时刻
7ReqStatusnvarchar40000    请求返回状态
8DevIDint40    设备ID
9TlpIDint40    模板ID
10OrderIDint40    订单ID
11Numint40    打印数量

简要说明:

飞印打印记录表

GO
CREATE TABLE [dbo].[ZL_Shop_PrintMessage](
[ID] [int] IDENTITY(1,1) NOT NULL,
[MsgNo] [nvarchar](50) NULL,
[Mode] [int] NULL,
[Detail] [nvarchar](4000) NULL,
[TaskStatus] [nvarchar](100) NULL,
[ReqTime] [datetime] NULL,
[ReqStatus] [nvarchar](4000) NULL,
[DevID] [int] NULL,
[TlpID] [int] NULL,
[OrderID] [int] NULL,
[Num] [int] NULL,
CONSTRAINT [PK_ZL_Shop_PrintMessage] PRIMARY KEY CLUSTERED
([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]

--注意:将清空全表数据

detele from ZL_Shop_PrintMessage

--注意:将删除整个表

drop table ZL_Shop_PrintMessage

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

TRUNCATE table ZL_Shop_PrintMessage