2025_10_30_cxf_create.sql 1.1 KB

12345678910111213141516171819
  1. create table kwf_truck_route
  2. (
  3. id bigint not null AUTO_INCREMENT comment '主键'
  4. primary key,
  5. fleet_id bigint not null default 0 comment '车队id',
  6. driver_id bigint not null default 0 comment '司机id',
  7. ent_id bigint not null default 0 comment '企业id',
  8. start_point varchar(400) not null default '' comment '起始点',
  9. unloading_Point varchar(400) not null default '' comment '卸货地点',
  10. shortest_time varchar(10) not null default '' comment '最短时间',
  11. point_info text null comment '详细点位信息',
  12. truck_no varchar(20) not null default '' comment '车辆编号',
  13. create_time datetime not null default current_timestamp comment '创建时间',
  14. update_time datetime not null default current_timestamp on update current_timestamp comment '更新时间',
  15. del_flag tinyint not null default 0 comment '是否删除(0未删除,1删除)'
  16. )
  17. comment '车辆惯用线路信息表';