From 9f3689ea26fd2158ffafd31a7932b1e685b0252b Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 11 二月 2026 11:59:46 +0800
Subject: [PATCH] fix: 一个合同中多个产品时,来票登记已来票金额、待来票金额统计有误
---
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