From 1a376098d2e27eeb9c2af90fa501311c2035d5ab Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:30:41 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql | 8 ++++++-- 1 files changed, 6 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 d51c775..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, -- 鍗曚环锛堝惈绋庯級 @@ -17,6 +16,9 @@ supplier_id BIGINT, -- 渚涜揣鍟咺D coal_id BIGINT, -- 鐓ょID 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), -- 鍒涘缓璇ヨ褰曠殑鐢ㄦ埛 @@ -31,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 '鎬讳环锛堜笉鍚◣锛�'; @@ -45,6 +47,8 @@ COMMENT ON COLUMN pending_inventory.supplier_id IS '渚涜揣鍟咺D'; COMMENT ON COLUMN pending_inventory.coal_id IS '鐓ょID'; COMMENT ON COLUMN pending_inventory.master_id IS '鐢熶骇鍔犲伐id'; +COMMENT ON COLUMN pending_inventory.purchase_id IS '閲囪喘id'; +COMMENT ON COLUMN pending_inventory.coal_plan_id IS '鐓よ川鏂规id'; COMMENT ON COLUMN pending_inventory.deleted IS '杞垹闄ゆ爣蹇楋紝0=鏈垹闄わ紝1=宸插垹闄�'; COMMENT ON COLUMN pending_inventory.create_by IS '鍒涘缓璇ヨ褰曠殑鐢ㄦ埛'; -- Gitblit v1.9.3