[add] 新增萤石摄像头图片定时清理 [update] 修改大屏位置数据返回逻辑

This commit is contained in:
lcj
2025-06-19 19:42:26 +08:00
parent cd1779fffd
commit c2dd889c99
21 changed files with 480 additions and 66 deletions

View File

@ -1119,3 +1119,20 @@ CREATE TABLE `oth_ys7_device_img`
primary key (`id`) using btree,
index `idx_device_serial` (`device_serial` asc) using btree comment '设备序列号'
) comment = '萤石摄像头图片' collate = utf8mb4_unicode_ci;
DROP TABLE IF EXISTS `hse_violation_level`;
CREATE TABLE `hse_violation_level`
(
`id` bigint not null auto_increment comment '主键id',
`project_id` bigint not null comment '项目id',
`violation_level` varchar(64) null comment '违章等级',
`color` varchar(32) null comment '颜色',
`risk_type` char(2) null comment '风险等级',
`violation_type` varchar(255) null comment '违章类型(多个逗号分隔)',
`create_by` varchar(64) null comment '创建者',
`update_by` varchar(64) null comment '更新者',
`create_time` datetime default CURRENT_TIMESTAMP null comment '创建时间',
`update_time` datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',
primary key (`id`) using btree,
index `idx_project_id` (`project_id` asc) using btree comment '项目id'
) comment = '违章等级' collate = utf8mb4_unicode_ci;