From 211b87f775899d965be142e3a89d70fc96a24ea4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 30 三月 2026 09:50:06 +0800
Subject: [PATCH] fix(production): 修复产品结构遍历时空对象导致的异常
---
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