From 196eed1a17e2d0d7ccdafb502ac597247ecb00a1 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 16 三月 2026 17:06:31 +0800
Subject: [PATCH] 质量管理:删除原料时,删除相关联数据

---
 doc/20260313_坤泰化工.sql |    3 +++
 1 files changed, 3 insertions(+), 0 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 3cfe25b..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,3 +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 approve_process
+    add approve_record_id bigint not null default 0;
\ No newline at end of file

--
Gitblit v1.9.3