# 报工班组人员产量时长明细表 create table if not exists production_report_person ( id bigint auto_increment primary key, product_main_id bigint not null comment '报工主表id(production_product_main.id)', user_id bigint not null comment '生产人id', user_name varchar(50) null comment '生产人姓名', quantity decimal(16,4) not null default 0 comment '该人员产出数量', work_hour int not null default 0 comment '该人员生产时长(分钟)', tenant_id bigint null comment '租户id', create_time datetime null comment '创建时间', update_time datetime null comment '更新时间', create_user bigint null comment '创建人', update_user bigint null comment '更新人', dept_id bigint null comment '部门id' ) engine=innodb default charset=utf8mb4 comment='报工班组人员产量时长明细';