2025_12_04_donglang.sql 1.7 KB

12345678910111213141516171819202122232425
  1. create table kwf_driver_conduct_rules
  2. (
  3. id bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  4. net_id bigint NOT NULL comment '企业id',
  5. not_on_time_arrive int NOT NULL comment '未按时到场(违规次数/扣分)',
  6. illegal_cancel_order int NOT NULL comment '违规取消运单(违规次数/扣分)',
  7. unload_serious_timeout int NOT NULL comment '卸货严重超时(违规次数/扣分)',
  8. fake_unload int NOT NULL comment '虚假卸货(违规次数/扣分)',
  9. document_error_missing int NOT NULL comment '单据错误/缺失(违规次数/扣分)',
  10. continuous_on_time_arrive int NOT NULL comment '连续按时到场(达标次数/加分)',
  11. continuous_on_time_unload int NOT NULL comment '连续准时卸货(达标次数/加分)',
  12. continuous_accurate_unload int NOT NULL comment '连续准确填写卸货信息(达标次数/加分)',
  13. del_flag int NOT NULL DEFAULT '0' COMMENT '是否删除(0未删除,1删除)',
  14. create_time datetime NOT NULL default CURRENT_TIMESTAMP comment '创建时间',
  15. update_time datetime NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP comment '更新时间',
  16. create_user bigint NOT NULL DEFAULT '-1' comment '创建人',
  17. update_user bigint NOT NULL DEFAULT '-1' comment '更新人',
  18. PRIMARY KEY (`id`) USING BTREE
  19. ) comment '司机行为规则表';