From f0f19fae3c310667b6732a3ac96df8e5d618fcff Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 18 三月 2026 15:15:37 +0800
Subject: [PATCH] 1.生产报工的成品未进入到入库记录中 2.仓储物流-入库来源保留合格自定义入库、生产报工-入库。出库来源只保留合格自定义出库

---
 doc/20260113-product_model.sql |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/doc/20260113-product_model.sql b/doc/20260113-product_model.sql
index de82a14..dcbb610 100644
--- a/doc/20260113-product_model.sql
+++ b/doc/20260113-product_model.sql
@@ -4,3 +4,11 @@
 alter table process_route
     add process_route_code varchar(255)  null comment '宸ヨ壓璺嚎缂栫爜';
 
+alter table procurement_record_storage
+    add product_model_id bigint null comment '浜у搧瑙勬牸id';
+alter table procurement_record_out
+    add product_model_id bigint null comment '浜у搧瑙勬牸id';
+
+
+alter table quality_inspect
+    add product_model_id bigint null comment '浜у搧瑙勬牸id';

--
Gitblit v1.9.3