DT 的数据字典
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

767 lines
21 KiB

create table t_dofferaxistask (
id Integer IDENTITY(1,1) primary key not null ,
billNo VarChar(50) null ,
lineNum VarChar(20) null ,
liTongTime Datetime null ,
outLiTongTime Datetime null ,
requestDateTime Datetime null ,
aTaskSubId Integer null ,
aPlanNum VarChar(20) null ,
aDuctId VarChar(30) null ,
aBatch VarChar(20) null ,
aIsNG Integer null ,
aliTongStockSite Integer null ,
aLineStockCarSite Integer null ,
aWinderCarSite Integer null ,
aWinderCarNo VarChar(20) null ,
aStockExport Integer null ,
aNewCodeGroup VarChar(20) null ,
aOldCodeGroup VarChar(20) null ,
aWinderNum Integer null ,
aWinderNumRemark VarChar(20) null ,
aDofferInService Datetime null ,
aPusherCompleteT Datetime null ,
aPusherCompleteD Datetime null ,
aPaperTubeRequestT Datetime null ,
aPaperTubeCompleteD Datetime null ,
aChuckCompleteT Datetime null ,
aFinished Integer null ,
bTaskSubId Integer null ,
bPlanNum VarChar(20) null ,
bDuctId VarChar(20) null ,
bBatch VarChar(20) null ,
bIsNG Integer null ,
bliTongStockSite Integer null ,
bLineStockCarSite Integer null ,
bWinderCarSite Integer null ,
bWinderCarNo VarChar(20) null ,
bStockExport Integer null ,
bNewCodeGroup VarChar(20) null ,
bOldCodeGroup VarChar(20) null ,
bWinderNum Integer null ,
bWinderNumRemark VarChar(20) null ,
bDofferInService Datetime null ,
bPusherCompleteT Datetime null ,
bPusherCompleteD Datetime null ,
bPaperTubeRequestT Datetime null ,
bPaperTubeCompleteD Datetime null ,
bChuckCompleteT Datetime null ,
bFinished Integer null ,
toCarFinishDate Datetime null ,
isState Integer null ,
remark VarChar(50) null ,
default1 VarChar(50) null
);
---/* View*/
go
CREATE View V_t_dofferaxistask
as
select * from t_dofferaxistask;
go
execute sp_addextendedproperty 'MS_Description','Id','user','dbo','table','t_dofferaxistask','column','id';
execute sp_addextendedproperty 'MS_Description','任务单号','user','dbo','table','t_dofferaxistask','column','billNo';
execute sp_addextendedproperty 'MS_Description','流水线号','user','dbo','table','t_dofferaxistask','column','lineNum';
execute sp_addextendedproperty 'MS_Description','理时间','user','dbo','table','t_dofferaxistask','column','liTongTime';
execute sp_addextendedproperty 'MS_Description','取筒时间','user','dbo','table','t_dofferaxistask','column','outLiTongTime';
execute sp_addextendedproperty 'MS_Description','请求任务时间','user','dbo','table','t_dofferaxistask','column','requestDateTime';
execute sp_addextendedproperty 'MS_Description','A排产Id','user','dbo','table','t_dofferaxistask','column','aTaskSubId';
execute sp_addextendedproperty 'MS_Description','A排产单号','user','dbo','table','t_dofferaxistask','column','aPlanNum';
execute sp_addextendedproperty 'MS_Description','','user','dbo','table','t_dofferaxistask','column','aDuctId';
execute sp_addextendedproperty 'MS_Description','A批次','user','dbo','table','t_dofferaxistask','column','aBatch';
execute sp_addextendedproperty 'MS_Description','产品级别','user','dbo','table','t_dofferaxistask','column','aIsNG';
execute sp_addextendedproperty 'MS_Description','A理桶仓','user','dbo','table','t_dofferaxistask','column','aliTongStockSite';
execute sp_addextendedproperty 'MS_Description','A线边仓位置','user','dbo','table','t_dofferaxistask','column','aLineStockCarSite';
execute sp_addextendedproperty 'MS_Description','A丝车内编号','user','dbo','table','t_dofferaxistask','column','aWinderCarSite';
execute sp_addextendedproperty 'MS_Description','A丝车编号','user','dbo','table','t_dofferaxistask','column','aWinderCarNo';
execute sp_addextendedproperty 'MS_Description','A理桶仓出口','user','dbo','table','t_dofferaxistask','column','aStockExport';
execute sp_addextendedproperty 'MS_Description','A新丝筒','user','dbo','table','t_dofferaxistask','column','aNewCodeGroup';
execute sp_addextendedproperty 'MS_Description','A旧丝筒','user','dbo','table','t_dofferaxistask','column','aOldCodeGroup';
execute sp_addextendedproperty 'MS_Description','A卷绕机编号','user','dbo','table','t_dofferaxistask','column','aWinderNum';
execute sp_addextendedproperty 'MS_Description','A卷绕机位号','user','dbo','table','t_dofferaxistask','column','aWinderNumRemark';
execute sp_addextendedproperty 'MS_Description','A开始落筒时间D','user','dbo','table','t_dofferaxistask','column','aDofferInService';
execute sp_addextendedproperty 'MS_Description','A下丝完成时间T','user','dbo','table','t_dofferaxistask','column','aPusherCompleteT';
execute sp_addextendedproperty 'MS_Description','A下丝完成时间D','user','dbo','table','t_dofferaxistask','column','aPusherCompleteD';
execute sp_addextendedproperty 'MS_Description','A请求上空筒时间T','user','dbo','table','t_dofferaxistask','column','aPaperTubeRequestT';
execute sp_addextendedproperty 'MS_Description','A请求锁时间D','user','dbo','table','t_dofferaxistask','column','aPaperTubeCompleteD';
execute sp_addextendedproperty 'MS_Description','A锁完成T','user','dbo','table','t_dofferaxistask','column','aChuckCompleteT';
execute sp_addextendedproperty 'MS_Description','A完成','user','dbo','table','t_dofferaxistask','column','aFinished';
execute sp_addextendedproperty 'MS_Description','B排产Id','user','dbo','table','t_dofferaxistask','column','bTaskSubId';
execute sp_addextendedproperty 'MS_Description','B排产单号','user','dbo','table','t_dofferaxistask','column','bPlanNum';
execute sp_addextendedproperty 'MS_Description','产品Id','user','dbo','table','t_dofferaxistask','column','bDuctId';
execute sp_addextendedproperty 'MS_Description','','user','dbo','table','t_dofferaxistask','column','bBatch';
execute sp_addextendedproperty 'MS_Description','','user','dbo','table','t_dofferaxistask','column','bIsNG';
execute sp_addextendedproperty 'MS_Description','B理桶仓','user','dbo','table','t_dofferaxistask','column','bliTongStockSite';
execute sp_addextendedproperty 'MS_Description','B线边仓位置','user','dbo','table','t_dofferaxistask','column','bLineStockCarSite';
execute sp_addextendedproperty 'MS_Description','B丝车内编号','user','dbo','table','t_dofferaxistask','column','bWinderCarSite';
execute sp_addextendedproperty 'MS_Description','B丝车编号','user','dbo','table','t_dofferaxistask','column','bWinderCarNo';
execute sp_addextendedproperty 'MS_Description','B理桶仓出口','user','dbo','table','t_dofferaxistask','column','bStockExport';
execute sp_addextendedproperty 'MS_Description','B新丝筒','user','dbo','table','t_dofferaxistask','column','bNewCodeGroup';
execute sp_addextendedproperty 'MS_Description','B旧丝筒','user','dbo','table','t_dofferaxistask','column','bOldCodeGroup';
execute sp_addextendedproperty 'MS_Description','B卷绕机编号','user','dbo','table','t_dofferaxistask','column','bWinderNum';
execute sp_addextendedproperty 'MS_Description','B卷绕机位号','user','dbo','table','t_dofferaxistask','column','bWinderNumRemark';
execute sp_addextendedproperty 'MS_Description','B开始落筒时间D','user','dbo','table','t_dofferaxistask','column','bDofferInService';
execute sp_addextendedproperty 'MS_Description','B下丝完成时间T','user','dbo','table','t_dofferaxistask','column','bPusherCompleteT';
execute sp_addextendedproperty 'MS_Description','B下丝完成时间D','user','dbo','table','t_dofferaxistask','column','bPusherCompleteD';
execute sp_addextendedproperty 'MS_Description','B请求上空筒时间T','user','dbo','table','t_dofferaxistask','column','bPaperTubeRequestT';
execute sp_addextendedproperty 'MS_Description','B请求锁时间D','user','dbo','table','t_dofferaxistask','column','bPaperTubeCompleteD';
execute sp_addextendedproperty 'MS_Description','B锁完成T','user','dbo','table','t_dofferaxistask','column','bChuckCompleteT';
execute sp_addextendedproperty 'MS_Description','B完成','user','dbo','table','t_dofferaxistask','column','bFinished';
execute sp_addextendedproperty 'MS_Description','放置台车完成时间','user','dbo','table','t_dofferaxistask','column','toCarFinishDate';
execute sp_addextendedproperty 'MS_Description','状态','user','dbo','table','t_dofferaxistask','column','isState';
execute sp_addextendedproperty 'MS_Description','Remark','user','dbo','table','t_dofferaxistask','column','remark';
execute sp_addextendedproperty 'MS_Description','Default1','user','dbo','table','t_dofferaxistask','column','default1';
/*******************************************************/
/* tableinfo */
/*******************************************************/
delete from cb_TableInfo where tablename='t_dofferaxistask';
insert into cb_TableInfo (tablename,classname,pk,updatetime,module,remark,reserved,data,index_size,sumrows,unused,default1) values(
't_dofferaxistask',
'DofferAxisTask',
'id',
'2019/11/12 20:06:50',
'BaseData',
'落筒任务表',
'0',
'0',
'0',
'0',
'0',
''
);
delete from cb_TableField where tablename='t_dofferaxistask';
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'id',
'integer',
'',
'1',
'1',
'True',
'',
'Id'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'billNo',
'varchar',
'50',
'0',
'0',
'False',
'',
'任务单号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'lineNum',
'varchar',
'20',
'0',
'0',
'False',
'',
'流水线号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'liTongTime',
'datetime',
'',
'0',
'0',
'False',
'',
'理时间'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'outLiTongTime',
'datetime',
'',
'0',
'0',
'False',
'',
'取筒时间'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'requestDateTime',
'datetime',
'',
'0',
'0',
'False',
'',
'请求任务时间'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aTaskSubId',
'integer',
'',
'0',
'0',
'False',
'',
'A排产Id'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aPlanNum',
'varchar',
'20',
'0',
'0',
'False',
'',
'A排产单号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aDuctId',
'varchar',
'30',
'0',
'0',
'False',
'',
'aDuctId'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aBatch',
'varchar',
'20',
'0',
'0',
'False',
'',
'A批次'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aIsNG',
'integer',
'',
'0',
'0',
'False',
'',
'产品级别'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aliTongStockSite',
'integer',
'',
'0',
'0',
'False',
'',
'A理桶仓'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aLineStockCarSite',
'integer',
'',
'0',
'0',
'False',
'',
'A线边仓位置'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aWinderCarSite',
'integer',
'',
'0',
'0',
'False',
'',
'A丝车内编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aWinderCarNo',
'varchar',
'20',
'0',
'0',
'False',
'',
'A丝车编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aStockExport',
'integer',
'',
'0',
'0',
'False',
'',
'A理桶仓出口'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aNewCodeGroup',
'varchar',
'20',
'0',
'0',
'False',
'',
'A新丝筒'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aOldCodeGroup',
'varchar',
'20',
'0',
'0',
'False',
'',
'A旧丝筒'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aWinderNum',
'integer',
'',
'0',
'0',
'False',
'',
'A卷绕机编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aWinderNumRemark',
'varchar',
'20',
'0',
'0',
'False',
'',
'A卷绕机位号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aDofferInService',
'datetime',
'',
'0',
'0',
'False',
'',
'A开始落筒时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aPusherCompleteT',
'datetime',
'',
'0',
'0',
'False',
'',
'A下丝完成时间T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aPusherCompleteD',
'datetime',
'',
'0',
'0',
'False',
'',
'A下丝完成时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aPaperTubeRequestT',
'datetime',
'',
'0',
'0',
'False',
'',
'A请求上空筒时间T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aPaperTubeCompleteD',
'datetime',
'',
'0',
'0',
'False',
'',
'A请求锁时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aChuckCompleteT',
'datetime',
'',
'0',
'0',
'False',
'',
'A锁完成T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'aFinished',
'integer',
'',
'0',
'0',
'False',
'',
'A完成'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bTaskSubId',
'integer',
'',
'0',
'0',
'False',
'',
'B排产Id'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bPlanNum',
'varchar',
'20',
'0',
'0',
'False',
'',
'B排产单号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bDuctId',
'varchar',
'20',
'0',
'0',
'False',
'',
'产品Id'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bBatch',
'varchar',
'20',
'0',
'0',
'False',
'',
'bBatch'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bIsNG',
'integer',
'',
'0',
'0',
'False',
'',
'bIsNG'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bliTongStockSite',
'integer',
'',
'0',
'0',
'False',
'',
'B理桶仓'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bLineStockCarSite',
'integer',
'',
'0',
'0',
'False',
'',
'B线边仓位置'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bWinderCarSite',
'integer',
'',
'0',
'0',
'False',
'',
'B丝车内编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bWinderCarNo',
'varchar',
'20',
'0',
'0',
'False',
'',
'B丝车编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bStockExport',
'integer',
'',
'0',
'0',
'False',
'',
'B理桶仓出口'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bNewCodeGroup',
'varchar',
'20',
'0',
'0',
'False',
'',
'B新丝筒'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bOldCodeGroup',
'varchar',
'20',
'0',
'0',
'False',
'',
'B旧丝筒'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bWinderNum',
'integer',
'',
'0',
'0',
'False',
'',
'B卷绕机编号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bWinderNumRemark',
'varchar',
'20',
'0',
'0',
'False',
'',
'B卷绕机位号'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bDofferInService',
'datetime',
'',
'0',
'0',
'False',
'',
'B开始落筒时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bPusherCompleteT',
'datetime',
'',
'0',
'0',
'False',
'',
'B下丝完成时间T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bPusherCompleteD',
'datetime',
'',
'0',
'0',
'False',
'',
'B下丝完成时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bPaperTubeRequestT',
'datetime',
'',
'0',
'0',
'False',
'',
'B请求上空筒时间T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bPaperTubeCompleteD',
'datetime',
'',
'0',
'0',
'False',
'',
'B请求锁时间D'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bChuckCompleteT',
'datetime',
'',
'0',
'0',
'False',
'',
'B锁完成T'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'bFinished',
'integer',
'',
'0',
'0',
'False',
'',
'B完成'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'toCarFinishDate',
'datetime',
'',
'0',
'0',
'False',
'',
'放置台车完成时间'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'isState',
'integer',
'',
'0',
'0',
'False',
'',
'状态'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'remark',
'varchar',
'50',
'0',
'0',
'False',
'',
'Remark'
);
insert into cb_TableField (tablename,fieldname,datatype,fieldlength,fieldidentity,fieldkey,notnullable,defaults,remark) values(
't_dofferaxistask',
'default1',
'varchar',
'50',
'0',
'0',
'False',
'',
'Default1'
);