From 191a4bb404614a3952147f1cb65f4451f182b045 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期三, 31 十二月 2025 09:51:38 +0800
Subject: [PATCH] refactor(production): 优化工艺路线实体映射和查询逻辑

---
 doc/create_table_process_route_item.sql |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/doc/create_table_process_route_item.sql b/doc/create_table_process_route_item.sql
index 306deaf..baab7d9 100644
--- a/doc/create_table_process_route_item.sql
+++ b/doc/create_table_process_route_item.sql
@@ -4,7 +4,8 @@
 (
     id          bigint auto_increment primary key,
     route_id    bigint   not null default 0 comment '宸ヨ壓璺嚎id',
-    product_id  bigint   not null default 0 comment '浜у搧id',
+    product_model_id  bigint   not null default 0 comment '浜у搧id',
+    process_id bigint   not null default 0 comment '宸ュ簭id',
     tenant_id   bigint   not null comment '绉熸埛id',
     create_time datetime null comment '褰曞叆鏃堕棿',
     update_time datetime null comment '鏇存柊鏃堕棿'

--
Gitblit v1.9.3