3 changed files with 49 additions and 46 deletions
			
			
		@ -1 +1,49 @@ | 
				
			|||||||
alter table  hzims_workflow_operation_log add  is_operation_log tinyint(1) comment '1 正常日志 0 错误日志'; | 
					alter table  hzims_workflow_operation_log add  is_operation_log tinyint(1) comment '1 正常日志 0 错误日志'; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					alter table  hzims_statistics  add  sort int comment  '排序'; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					create table log_options_module_name | 
				
			||||||
 | 
					( | 
				
			||||||
 | 
					    id          bigint primary key auto_increment, | 
				
			||||||
 | 
					    module_name varchar(50)                        null comment '功能模块', | 
				
			||||||
 | 
					    sort        int comment '排序', | 
				
			||||||
 | 
					    create_time datetime default CURRENT_TIMESTAMP null comment '创建时间', | 
				
			||||||
 | 
					    update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间', | 
				
			||||||
 | 
					    is_deleted  tinyint  default 0                 null comment '逻辑删除 (0 可用 1 删除)' | 
				
			||||||
 | 
					); | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					insert into log_options_module_name(module_name, sort) | 
				
			||||||
 | 
					values ('集中监控', 1), | 
				
			||||||
 | 
					       ('综合调度', 2), | 
				
			||||||
 | 
					       ('视频集中监控', 3), | 
				
			||||||
 | 
					       ('实时监控', 4), | 
				
			||||||
 | 
					       ('视频监控', 5), | 
				
			||||||
 | 
					       ('演示大屏', 6), | 
				
			||||||
 | 
					       ('生态监控', 7), | 
				
			||||||
 | 
					       ('数据分析', 9), | 
				
			||||||
 | 
					       ('数据查询', 10), | 
				
			||||||
 | 
					       ('通讯告警统计', 11), | 
				
			||||||
 | 
					       ('气象监测', 12), | 
				
			||||||
 | 
					       ('我的事务', 13), | 
				
			||||||
 | 
					       ('值班管理', 14), | 
				
			||||||
 | 
					       ('缺陷管理', 15), | 
				
			||||||
 | 
					       ('两票管理', 16), | 
				
			||||||
 | 
					       ('巡检管理', 17), | 
				
			||||||
 | 
					       ('日常维护', 18), | 
				
			||||||
 | 
					       ('检修管理', 19), | 
				
			||||||
 | 
					       ('数据填报', 20), | 
				
			||||||
 | 
					       ('安全管理', 21), | 
				
			||||||
 | 
					       ('设备管理', 22), | 
				
			||||||
 | 
					       ('资产管理', 23), | 
				
			||||||
 | 
					       ('智能诊断', 24), | 
				
			||||||
 | 
					       ('生产月报', 25), | 
				
			||||||
 | 
					       ('告警配置', 26), | 
				
			||||||
 | 
					       ('电站安全标准', 27), | 
				
			||||||
 | 
					       ('站点管理', 28), | 
				
			||||||
 | 
					       ('实时画面', 29), | 
				
			||||||
 | 
					       ('资源配置', 30), | 
				
			||||||
 | 
					       ('消息管理', 31), | 
				
			||||||
 | 
					       ('移动端配置', 32), | 
				
			||||||
 | 
					       ('水电站设置', 33), | 
				
			||||||
 | 
					       ('告警配置', 34); | 
				
			||||||
 | 
				
			|||||||
@ -1 +0,0 @@ | 
				
			|||||||
alter table  hzims_statistics  add  sort int comment  '排序'; | 
					 | 
				
			||||||
@ -1,44 +0,0 @@ | 
				
			|||||||
create table log_options_module_name | 
					 | 
				
			||||||
( | 
					 | 
				
			||||||
    id          bigint primary key auto_increment, | 
					 | 
				
			||||||
    module_name varchar(50)                        null comment '功能模块', | 
					 | 
				
			||||||
    sort        int comment '排序', | 
					 | 
				
			||||||
    create_time datetime default CURRENT_TIMESTAMP null comment '创建时间', | 
					 | 
				
			||||||
    update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间', | 
					 | 
				
			||||||
    is_deleted  tinyint  default 0                 null comment '逻辑删除 (0 可用 1 删除)' | 
					 | 
				
			||||||
); | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
insert into log_options_module_name(module_name, sort) | 
					 | 
				
			||||||
values ('集中监控', 1), | 
					 | 
				
			||||||
       ('综合调度', 2), | 
					 | 
				
			||||||
       ('视频集中监控', 3), | 
					 | 
				
			||||||
       ('实时监控', 4), | 
					 | 
				
			||||||
       ('视频监控', 5), | 
					 | 
				
			||||||
       ('演示大屏', 6), | 
					 | 
				
			||||||
       ('生态监控', 7), | 
					 | 
				
			||||||
       ('数据分析', 9), | 
					 | 
				
			||||||
       ('数据查询', 10), | 
					 | 
				
			||||||
       ('通讯告警统计', 11), | 
					 | 
				
			||||||
       ('气象监测', 12), | 
					 | 
				
			||||||
       ('我的事务', 13), | 
					 | 
				
			||||||
       ('值班管理', 14), | 
					 | 
				
			||||||
       ('缺陷管理', 15), | 
					 | 
				
			||||||
       ('两票管理', 16), | 
					 | 
				
			||||||
       ('巡检管理', 17), | 
					 | 
				
			||||||
       ('日常维护', 18), | 
					 | 
				
			||||||
       ('检修管理', 19), | 
					 | 
				
			||||||
       ('数据填报', 20), | 
					 | 
				
			||||||
       ('安全管理', 21), | 
					 | 
				
			||||||
       ('设备管理', 22), | 
					 | 
				
			||||||
       ('资产管理', 23), | 
					 | 
				
			||||||
       ('智能诊断', 24), | 
					 | 
				
			||||||
       ('生产月报', 25), | 
					 | 
				
			||||||
       ('告警配置', 26), | 
					 | 
				
			||||||
       ('电站安全标准', 27), | 
					 | 
				
			||||||
       ('站点管理', 28), | 
					 | 
				
			||||||
       ('实时画面', 29), | 
					 | 
				
			||||||
       ('资源配置', 30), | 
					 | 
				
			||||||
       ('消息管理', 31), | 
					 | 
				
			||||||
       ('移动端配置', 32), | 
					 | 
				
			||||||
       ('水电站设置', 33), | 
					 | 
				
			||||||
       ('告警配置', 34); | 
					 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue