SN码管理的简单实现
This commit is contained in:
parent
7cf6f14f1f
commit
cd01e39fd2
@ -1086,3 +1086,30 @@ create table wm_transfer_line (
|
||||
primary key (line_id)
|
||||
) engine=innodb auto_increment=200 comment = '转移单行表';
|
||||
|
||||
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
-- 23、SN码表
|
||||
-- ----------------------------
|
||||
drop table if exists wm_sn;
|
||||
create table wm_sn (
|
||||
sn_id bigint(20) not null auto_increment comment 'SN码ID',
|
||||
sn_code varchar(64) not null comment 'SN码',
|
||||
item_id bigint(20) not null comment '产品物料ID',
|
||||
item_code varchar(64) comment '产品物料编码',
|
||||
item_name varchar(255) comment '产品物料名称',
|
||||
specification varchar(500) comment '规格型号',
|
||||
unit_of_measure varchar(64) comment '单位',
|
||||
batch_code varchar(255) comment '批次号',
|
||||
remark varchar(500) default '' comment '备注',
|
||||
attr1 varchar(64) default null comment '预留字段1',
|
||||
attr2 varchar(255) default null comment '预留字段2',
|
||||
attr3 int(11) default 0 comment '预留字段3',
|
||||
attr4 int(11) default 0 comment '预留字段4',
|
||||
create_by varchar(64) default '' comment '创建者',
|
||||
create_time datetime comment '创建时间',
|
||||
update_by varchar(64) default '' comment '更新者',
|
||||
update_time datetime comment '更新时间',
|
||||
primary key (sn_id)
|
||||
) engine=innodb auto_increment=200 comment = 'SN码表';
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user