From 1be8074de2176459ccea92115e4adb0704769104 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 16 三月 2026 16:43:40 +0800
Subject: [PATCH] 质量管理:提交原料后,不合格的生成不合格记录;合格则生成审批记录
---
doc/20260313_坤泰化工.sql | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git "a/doc/20260313_\345\235\244\346\263\260\345\214\226\345\267\245.sql" "b/doc/20260313_\345\235\244\346\263\260\345\214\226\345\267\245.sql"
index 275e581..031af7d 100644
--- "a/doc/20260313_\345\235\244\346\263\260\345\214\226\345\267\245.sql"
+++ "b/doc/20260313_\345\235\244\346\263\260\345\214\226\345\267\245.sql"
@@ -25,5 +25,6 @@
update_time datetime null comment '鏇存柊鏃堕棿',
unique idx_raw_material_id_quality_inspect_item_id (raw_material_id, quality_inspect_item_id)
);
-alter table raw_material
- add quantity decimal(18, 2) null;
\ No newline at end of file
+
+alter table approve_process
+ add approve_record_id bigint not null default 0;
\ No newline at end of file
--
Gitblit v1.9.3