设计文档

This commit is contained in:
JinLu.Yin
2022-05-12 23:36:30 +08:00
parent 6f2b77f07d
commit fdab5b010e
4 changed files with 92 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ create table pro_process (
process_id bigint(20) not null auto_increment comment '工序ID',
process_code varchar(64) not null comment '工序编码',
process_name varchar(255) not null comment '工序名称',
attention varchar(1000) comment '工艺要求',
enable_flag char(1) default 'Y' not null comment '是否启用',
remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1',
@@ -107,3 +108,26 @@ create table pro_process_content (
primary key (content_id)
) engine=innodb auto_increment=200 comment = '生产工序内容表';
-- ----------------------------
-- 3、工艺路线表
-- ----------------------------
drop table if exists pro_route;
create table pro_route (
route_id bigint(20) not null auto_increment comment '工艺路线ID',
route_code varchar(64) not null comment '工艺路线编号',
route_name varchar(255) not null comment '工艺路线名称',
route_desc varchar(500) comment '工艺路线说明',
enable_flag char(1) default 'Y' not null 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 (route_id)
) engine=innodb auto_increment=200 comment = '工艺路线表';