2 天以前 0beb4e197c13ccce94a943e158993c503700f4da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 报工班组人员产量时长明细表
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='报工班组人员产量时长明细';