You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.4 KiB
23 lines
1.4 KiB
|
1 month ago
|
-- ----------------------------
|
||
|
|
-- 时间轴信息表
|
||
|
|
-- ----------------------------
|
||
|
|
drop table if exists sys_timeline_segment;
|
||
|
|
create table sys_timeline_segment (
|
||
|
|
segment_id bigint(20) not null auto_increment comment '时间段ID',
|
||
|
|
room_id bigint(20) not null comment '房间ID',
|
||
|
|
segment_time varchar(8) not null comment '时间点(HH:mm:ss)',
|
||
|
|
segment_name varchar(50) not null comment '时间段名称',
|
||
|
|
segment_desc varchar(500) default '' comment '时间段描述',
|
||
|
|
primary key (segment_id),
|
||
|
|
key idx_room_id (room_id)
|
||
|
|
) engine=innodb auto_increment=100 comment = '时间轴信息表';
|
||
|
|
|
||
|
|
-- ----------------------------
|
||
|
|
-- 初始化时间轴信息表数据(示例数据)
|
||
|
|
-- ----------------------------
|
||
|
|
insert into sys_timeline_segment values(1, 1, '08:00:00', '任务准备', '开始准备任务所需的资源和设备');
|
||
|
|
insert into sys_timeline_segment values(2, 1, '10:00:00', '资源调配', '完成资源的调配和分配');
|
||
|
|
insert into sys_timeline_segment values(3, 1, '12:00:00', '任务执行', '开始执行主要任务');
|
||
|
|
insert into sys_timeline_segment values(4, 1, '14:00:00', '任务监控', '监控任务执行进度');
|
||
|
|
insert into sys_timeline_segment values(5, 1, '16:00:00', '任务完成', '任务完成,进行总结');
|