| | |
| | | "expire_date" timestamp DEFAULT NULL, |
| | | "lot_number" varchar(128) DEFAULT NULL, |
| | | "quality_status" int DEFAULT NULL, |
| | | "ncr_disposition_id" bigint DEFAULT NULL, |
| | | "remark" varchar(500) DEFAULT NULL, |
| | | "creator" varchar(64) DEFAULT '', |
| | | "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| | |
| | | CREATE TABLE IF NOT EXISTS "mes_wm_product_sales_line" ( |
| | | "id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, |
| | | "sales_id" bigint NOT NULL, |
| | | "sale_order_item_id" bigint DEFAULT NULL, |
| | | "notice_line_id" bigint DEFAULT NULL, |
| | | "item_id" bigint NOT NULL, |
| | | "quantity" decimal(20,6) NOT NULL, |
| | |
| | | "oqc_check_flag" tinyint DEFAULT NULL, |
| | | "oqc_id" bigint DEFAULT NULL, |
| | | "quality_status" int DEFAULT NULL, |
| | | "ncr_disposition_id" bigint DEFAULT NULL, |
| | | "remark" varchar(500) DEFAULT NULL, |
| | | "creator" varchar(64) DEFAULT '', |
| | | "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| | |
| | | "rqc_id" bigint DEFAULT NULL, |
| | | "rqc_check_flag" bit NOT NULL DEFAULT FALSE, |
| | | "quality_status" int DEFAULT NULL, |
| | | "ncr_disposition_id" bigint DEFAULT NULL, |
| | | "remark" varchar(500) DEFAULT '', |
| | | "creator" varchar(64) DEFAULT '', |
| | | "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |