From 40e4ce58f634598fafd205dfe54cb90e8b63b6f2 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 20 六月 2025 17:30:15 +0800
Subject: [PATCH] 生产加工

---
 main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql b/main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql
index a8043a8..433afe9 100644
--- a/main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql
+++ b/main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql
@@ -5,16 +5,16 @@
     supplier_name             VARCHAR(255)   NOT NULL,           -- 渚涜揣鍟嗗悕绉�
     coal                      VARCHAR(50)    NOT NULL,           -- 鐓ょ
     unit                      VARCHAR(50)    NOT NULL,           -- 鍗曚綅
-    inventory_quantity        DECIMAL(10, 2) NOT NULL,           -- 搴撳瓨鏁伴噺
+    inventory_quantity        DECIMAL(10, 0),                    -- 搴撳瓨鏁伴噺
     price_including_tax       DECIMAL(10, 2) NOT NULL,           -- 鍗曚环锛堝惈绋庯級
     total_price_including_tax DECIMAL(10, 2) NOT NULL,           -- 鎬讳环锛堝惈绋庯級
     price_excluding_tax       DECIMAL(10, 2) NOT NULL,           -- 涓嶅惈绋庡崟浠�
     total_price_excluding_tax DECIMAL(10, 2) NOT NULL,           -- 涓嶅惈绋庢�讳环
-    pending_replenishment     DECIMAL(10, 2) NOT NULL,           -- 寰呰ˉ搴�
+    pending_replenishment     DECIMAL(10, 0),                    -- 寰呰ˉ搴�
     registrant_id             VARCHAR(50)    NOT NULL,           -- 鐧昏浜篿d
-    type             VARCHAR(50)    NOT NULL,           -- 鐧昏浜篿d
+    type                      VARCHAR(50),                       -- 绫诲瀷       1 閲囪喘/ 2 姝e紡   鍏ュ簱
     pending_id                BIGINT,                            -- 寰呭叆搴搃d
-    merge_id                BIGINT,                            -- 鍚堝苟id
+    merge_id                  VARCHAR(255),                            -- 鍚堝苟id
     registration_date         TIMESTAMP WITHOUT TIME ZONE,
 
     deleted                   INT            NOT NULL DEFAULT 0, -- 杞垹闄ゆ爣蹇楋細0=鏈垹闄わ紝1=宸插垹闄�

--
Gitblit v1.9.3