liyong
4 天以前 60b742746f9c00a2b7d96217463d1aa0eca490d2
doc/create_table_product_structure.sql
@@ -1,10 +1,10 @@
# 产品结构
drop table if exists production_product_structure;
drop table if exists product_structure;
create table product_structure
(
    id                 bigint auto_increment
        primary key,
    product_id         bigint         not null comment '产品id',
    product_model_id         bigint         not null comment '产品id',
    process_id         bigint         not null comment '工序id',
    unit_quantity      numeric(16, 4) not null comment '单位产出需要数量',
    demanded_quantity  numeric(16, 4) not null comment '需求数量',