From c19bcccbe4f091b4286a3ff40ee4a97c4e9848d6 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 19 三月 2026 10:22:37 +0800
Subject: [PATCH] 修改bom产品信息,如果有关联生成订单完成数量>0,则不许改;否则修改关联的产品结构,订单产品信息,工艺路线产品信息
---
doc/create_table_product_structure.sql | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/create_table_product_structure.sql b/doc/create_table_product_structure.sql
index 4f7d7f6..83af495 100644
--- a/doc/create_table_product_structure.sql
+++ b/doc/create_table_product_structure.sql
@@ -12,3 +12,5 @@
disk_quantity numeric(16, 4) not null comment '鐩樻暟閲�',
tenant_id bigint not null comment '绉熸埛id'
);
+alter table product_structure
+ add parent_id bigint null comment '鐖秈d';
--
Gitblit v1.9.3