liding
2 天以前 40e4ce58f634598fafd205dfe54cb90e8b63b6f2
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,           -- 登记人id
    type             VARCHAR(50)    NOT NULL,           -- 登记人id
    type                      VARCHAR(50),                       -- 类型       1 采购/ 2 正式   入库
    pending_id                BIGINT,                            -- 待入库id
    merge_id                BIGINT,                            -- 合并id
    merge_id                  VARCHAR(255),                            -- 合并id
    registration_date         TIMESTAMP WITHOUT TIME ZONE,
    deleted                   INT            NOT NULL DEFAULT 0, -- 软删除标志:0=未删除,1=已删除