From 5eec9b5a9d8bf9e49663d5a51cab7490fef5b204 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 26 八月 2025 15:22:03 +0800
Subject: [PATCH] yys  生产管控(完成基本功能)

---
 main-business/src/main/resources/db/migration/postgresql/V20250604111200__create_table_official_inventory.sql |    3 ++-
 1 files changed, 2 insertions(+), 1 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 5e4b100..739f7ec 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
@@ -12,7 +12,7 @@
     total_price_excluding_tax DECIMAL(10, 2) NOT NULL,           -- 涓嶅惈绋庢�讳环
     pending_replenishment     DECIMAL(10, 0),                    -- 寰呰ˉ搴�
     registrant_id             BIGINT         NOT NULL,           -- 鐧昏浜篿d
-    type                      VARCHAR(50),                       -- 绫诲瀷       1 閲囪喘/ 2 姝e紡   鍏ュ簱
+    type                      BIGINT,                            -- 鐓ゆ枡绫诲瀷       1 鎴愬搧/ 2 鍘熸枡
     pending_id                BIGINT,                            -- 寰呭叆搴搃d
     coal_plan_id               BIGINT,                                 -- 鐓よ川鏂规id
     merge_id                  VARCHAR(255),                      -- 鍚堝苟id
@@ -37,6 +37,7 @@
 COMMENT ON COLUMN official_inventory.price_including_tax IS '鍗曚环锛堝惈绋庯級';
 COMMENT ON COLUMN official_inventory.total_price_including_tax IS '鎬讳环锛堝惈绋庯級';
 COMMENT ON COLUMN official_inventory.pending_replenishment IS '寰呰ˉ搴�';
+COMMENT ON COLUMN official_inventory.type IS '鐓ゆ枡绫诲瀷       1 鎴愬搧/ 2 鍘熸枡';
 COMMENT ON COLUMN official_inventory.registrant_id IS '鐧昏浜篿d';
 COMMENT ON COLUMN official_inventory.registration_date IS '鐧昏鏃ユ湡';
 COMMENT ON COLUMN official_inventory.merge_id IS '鍚堝苟id';

--
Gitblit v1.9.3