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/V20250604104500__create_table_pending_inventory.sql |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql b/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
index 83e436d..62e3455 100644
--- a/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
+++ b/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
@@ -3,7 +3,6 @@
 (
     id                        BIGSERIAL PRIMARY KEY,                  -- 涓婚敭ID
     supplier_name             VARCHAR(255)   NOT NULL,                -- 渚涜揣鍟嗗悕绉�
-    coal                      VARCHAR(50)    NOT NULL,                -- 鐓ょ
     unit                      VARCHAR(50)    NOT NULL,                -- 鍗曚綅
     inventory_quantity        NUMERIC(10, 2) NOT NULL,                -- 搴撳瓨鏁伴噺
     price_including_tax       NUMERIC(10, 2) NOT NULL,                -- 鍗曚环锛堝惈绋庯級
@@ -19,6 +18,7 @@
     master_id                 BIGINT,                                 -- 鐢熶骇鍔犲伐id
     purchase_id               BIGINT,                                 -- 閲囪喘id
     coal_plan_id               BIGINT,                                 -- 鐓よ川鏂规id
+    type               BIGINT,                                 -- 鐓ゆ枡绫诲瀷 1-鎴愬搧 2-鍘熸枡
 
     deleted                   INTEGER      DEFAULT 0,                 -- 杞垹闄ゆ爣蹇楋紝0=鏈垹闄わ紝1=宸插垹闄�
     create_by                 VARCHAR(255),                           -- 鍒涘缓璇ヨ褰曠殑鐢ㄦ埛
@@ -33,12 +33,12 @@
 -- 瀛楁娉ㄩ噴
 COMMENT ON COLUMN pending_inventory.id IS '涓婚敭ID';
 COMMENT ON COLUMN pending_inventory.supplier_name IS '渚涜揣鍟嗗悕绉�';
-COMMENT ON COLUMN pending_inventory.coal IS '鐓ょ';
 COMMENT ON COLUMN pending_inventory.unit IS '鍗曚綅';
 COMMENT ON COLUMN pending_inventory.inventory_quantity IS '搴撳瓨鏁伴噺';
 COMMENT ON COLUMN pending_inventory.price_including_tax IS '鍗曚环锛堝惈绋庯級';
 COMMENT ON COLUMN pending_inventory.total_price_including_tax IS '鎬讳环锛堝惈绋庯級';
 COMMENT ON COLUMN pending_inventory.registrant IS '鐧昏浜�';
+COMMENT ON COLUMN pending_inventory.type IS '鐓ゆ枡绫诲瀷 1-鎴愬搧 2-鍘熸枡';
 COMMENT ON COLUMN pending_inventory.registration_time IS '鐧昏鏃堕棿';
 COMMENT ON COLUMN pending_inventory.price_excluding_tax IS '鍗曚环锛堜笉鍚◣锛�';
 COMMENT ON COLUMN pending_inventory.total_price_excluding_tax IS '鎬讳环锛堜笉鍚◣锛�';

--
Gitblit v1.9.3