From d9ee1fb5190f91d79c003193b7f27ff7c5072227 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期二, 23 十二月 2025 13:50:05 +0800
Subject: [PATCH] feat(production): 添加工艺路线管理功能并重构产品结构相关代码

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

diff --git a/doc/create_table_process_route_item.sql b/doc/create_table_process_route_item.sql
index 306deaf..facf74e 100644
--- a/doc/create_table_process_route_item.sql
+++ b/doc/create_table_process_route_item.sql
@@ -4,8 +4,9 @@
 (
     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',
     tenant_id   bigint   not null comment '绉熸埛id',
     create_time datetime null comment '褰曞叆鏃堕棿',
-    update_time datetime null comment '鏇存柊鏃堕棿'
+    update_time datetime null comment '鏇存柊鏃堕棿',
+    sort bigint  not null comment '鎺掑簭'
 );

--
Gitblit v1.9.3