|
|
发表于 2025-3-21 02:13:21
|
显示全部楼层
规划路径显示功能
新增表 gx_global_path_plan
表结构:
CREATE TABLE `gx_global_path_plan` (
`id` int NOT NULL AUTO_INCREMENT,
`task_id` int NOT NULL COMMENT '所属任务',
`route_clip_type` tinyint NOT NULL DEFAULT 0 COMMENT '裁剪类型 0:未裁剪 1:首尾路由裁剪 2:交点裁剪',
`include_routes_id` json NOT NULL COMMENT '包含路由id - 未裁剪和首位路由裁剪, 永远只会包含一个路由',
`include_maps_id` json NOT NULL COMMENT '包含地图',
`points` json NOT NULL COMMENT '点集合 - 只有裁剪后才会用到',
`point_begin_index` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '点开始序号',
`point_end_index` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '点结束序号',
`create_time` int NULL DEFAULT 0 COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `task_id`(`task_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|