上传项目设计图,将项目设计图dxf文件转化为geojson文件并将存储信息保存到数据库

This commit is contained in:
lcj
2025-04-23 17:53:57 +08:00
parent a2c6bb7ba9
commit 5abef3716e
24 changed files with 1208 additions and 95 deletions

View File

@ -924,3 +924,18 @@ CREATE TABLE `fac_box_transformer`
INDEX `idx_project_id` (`project_id` ASC) USING BTREE,
INDEX `idx_matrix_id` (`matrix_id` ASC) USING BTREE
) comment = '设施-箱变' COLLATE = utf8mb4_unicode_ci;
DROP TABLE IF EXISTS `bus_project_file`;
CREATE TABLE `bus_project_file`
(
`id` bigint not null auto_increment comment '主键id',
`project_id` bigint not null comment '项目id',
`file_type` char(2) null comment '文件类型',
`file_name` varchar(255) null comment '文件名称',
`file_path` varchar(1024) null comment '文件路径',
`create_time` datetime default CURRENT_TIMESTAMP null comment '创建时间',
`update_time` datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',
`remark` varchar(512) null comment '备注',
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id` (`project_id` ASC) USING BTREE comment '项目id'
) comment = '项目文件存储' collate = utf8mb4_unicode_ci;