| 123456789101112131415161718192021 |
- create table kwt_forklift_waybill_order
- (
- id bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
- f_order_no varchar(30) NOT NULL DEFAULT '-1' COMMENT '铲车订单编号',
- ent_id bigint NOT NULL DEFAULT '-1' COMMENT '企业id',
- w_order_id bigint NOT NULL DEFAULT '-1' COMMENT '物流运单id',
- l_order_id bigint NOT NULL DEFAULT '-1' COMMENT '物流订单id',
- loading_type int NOT NULL DEFAULT '0' COMMENT '装载类型(0装载,1补货)',
- status int NOT NULL DEFAULT '0' COMMENT '状态(1接单,5-已接单、10-已装载)',
- driver_id bigint NOT NULL DEFAULT '-1' COMMENT '装载员id',
- driver_name varchar(40) DEFAULT NULL default '' COMMENT '装载员姓名',
- driver_phone varchar(20) DEFAULT NULL default '' COMMENT '装载员联系电话',
- accept_order_time datetime NOT NULL DEFAULT '1000-01-01 00:00:00' COMMENT '装载完成时间',
- finish_time datetime NOT NULL DEFAULT '1000-01-01 00:00:00' COMMENT '装载完成时间',
- create_time datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- update_time datetime NOT NULL DEFAULT CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP COMMENT '更新时间',
- create_user bigint NOT NULL DEFAULT '-1' COMMENT '创建人',
- update_user bigint NOT NULL DEFAULT '-1' COMMENT '更新人',
- PRIMARY KEY (`id`) USING BTREE
- ) comment '铲车司机运单';
|