质检相关功能修复

This commit is contained in:
yinjinlu-pc\尹金路
2024-12-11 00:30:29 +08:00
parent 16fa600703
commit b9fae61a0f
13 changed files with 127 additions and 40 deletions

View File

@@ -269,7 +269,7 @@ create table pro_task (
end_time datetime comment '完成生产时间',
color_code char(7) default '#00AEF3' comment '甘特图显示颜色',
request_date datetime comment '需求日期',
status varchar(64) default 'NORMARL' comment '生产状态',
status varchar(64) default 'NORMAL' comment '生产状态',
remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1',
attr2 varchar(255) default null comment '预留字段2',
@@ -602,8 +602,8 @@ create table pro_card_process (
drop table if exists pro_sn_process;
create table pro_sn_process (
record_id bigint(20) not null auto_increment comment '流水ID',
sn_id bigint(20) not null comment '流转卡ID',
sn_code varchar(64) comment '流转卡编号',
sn_id bigint(20) not null comment 'SNID',
sn_code varchar(64) comment 'SN编号',
seq_num int(11) default 1 comment '序号',
process_id bigint(20) comment '工序ID',
process_code varchar(64) comment '工序编号',

View File

@@ -472,6 +472,8 @@ create table qc_result_detail (
detail_id bigint(20) not null auto_increment comment '流水号',
result_id bigint(20) not null comment '结果记录ID',
index_id bigint(20) not null comment '检测项ID',
index_code varchar(64) comment '检测项编码',
index_name varchar(256) comment '检测项名称',
index_type varchar(64) comment '检测项类型',
qc_tool varchar(255) comment '检测工具',
check_method varchar(500) comment '检测要求',