CREATE TABLE `kws_weighbridge_diff_config`
(
    `id`                bigint          NOT NULL COMMENT '主键ID',
    `ent_id`            bigint          NOT NULL COMMENT '企业ID',
    `tare_error_value`  decimal(10, 3)  NOT NULL DEFAULT 0.000 COMMENT '皮重误差值(吨)',
    `load_error_value`  decimal(10, 3)  NOT NULL DEFAULT 0.000 COMMENT '载重误差值(吨)',
    `empty_load_value`  decimal(10, 3)  NOT NULL DEFAULT 0.000 COMMENT '空载判定值(吨)',
    `create_by`         bigint          NOT NULL DEFAULT 0 COMMENT '创建人',
    `create_time`       datetime        NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `update_by`         bigint          NOT NULL DEFAULT 0 COMMENT '更新人',
    `update_time`       datetime        NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
    `del_flag`          int             NOT NULL DEFAULT 0 COMMENT '删除标识: 0-正常, 1-删除',
    PRIMARY KEY (`id`) USING BTREE,
    UNIQUE KEY `uk_ent_id_del_flag` (`ent_id`, `del_flag`) USING BTREE,
    KEY `idx_update_time` (`update_time`) USING BTREE
) COMMENT ='地磅差异化配置表';
