From 8c21b027065cc2b2bcc7685f6b6d84edcc633736 Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Tue, 13 Sep 2022 21:50:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=82=A8=E7=9A=84=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E4=BA=8B=E5=8A=A1=E5=92=8C=E5=BA=93=E5=AD=98=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E8=A1=A8=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=96=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/设计文档/数据库设计/mes-wm.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/设计文档/数据库设计/mes-wm.sql b/doc/设计文档/数据库设计/mes-wm.sql index 8018dd7..7213367 100644 --- a/doc/设计文档/数据库设计/mes-wm.sql +++ b/doc/设计文档/数据库设计/mes-wm.sql @@ -113,6 +113,8 @@ create table wm_transaction ( transaction_date datetime comment '事务日期', related_transaction_id bigint(20) comment '关联的事务ID', erp_date datetime comment 'ERP账期', + workorder_id bigint(20) comment '生产工单ID', + workorder_code varchar(64) comment '生产工单编号', recpt_date datetime comment '接收日期', expire_date datetime comment '库存有效期', attr1 varchar(64) default null comment '预留字段1', @@ -157,7 +159,6 @@ create table wm_material_stock ( quantity_onhand double(12,2) comment '在库数量', workorder_id bigint(20) comment '生产工单ID', workorder_code varchar(64) comment '生产工单编号', - workorder_name varchar(255) comment '生产工单名称', recpt_date datetime comment '入库时间', expire_date datetime comment '库存有效期', attr1 varchar(64) default null comment '预留字段1',