From bd6e9dec86fbeec15e5617081402859ac564ef39 Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Tue, 27 Sep 2022 11:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=B7=A5=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=89=B9=E6=AC=A1=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/设计文档/数据库设计/mes-pro.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/设计文档/数据库设计/mes-pro.sql b/doc/设计文档/数据库设计/mes-pro.sql index fec77e5..76de2d7 100644 --- a/doc/设计文档/数据库设计/mes-pro.sql +++ b/doc/设计文档/数据库设计/mes-pro.sql @@ -20,6 +20,7 @@ create table pro_workorder ( client_id bigint(20) comment '客户ID', client_code varchar(64) comment '客户编码', client_name varchar(255) comment '客户名称', + batch_code varchar(64) comment '批次号', request_date datetime not null comment '需求日期', parent_id bigint(20) default 0 not null comment '父工单', ancestors varchar(500) not null comment '所有父节点ID', @@ -203,7 +204,7 @@ create table pro_route_product_bom ( record_id bigint(20) not null auto_increment comment '记录ID', route_id bigint(20) not null comment '工艺路线ID', process_id bigint(20) not null comment '工序ID', - product_id bigint(20) not null comment '产品物料ID', + product_id bigint(20) not null comment '产品BOM中的唯一ID', item_id bigint(20) not null comment '产品物料ID', item_code varchar(64) not null comment '产品物料编码', item_name varchar(255) not null comment '产品物料名称',