From 1039dfb9ceab9e416712d831bc84038ae721501f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E9=A3=9E=E5=AE=87?= <2684146481@qq.com> Date: Wed, 2 Aug 2023 11:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims-middle/src/main/resources/db/1.0.1.sql | 50 +++++++++++++++++++++- .../hzims-middle/src/main/resources/db/1.0.2.sql | 1 - .../hzims-middle/src/main/resources/db/1.0.3.sql | 44 ------------------- 3 files changed, 49 insertions(+), 46 deletions(-) delete mode 100644 hzims-service/hzims-middle/src/main/resources/db/1.0.2.sql delete mode 100644 hzims-service/hzims-middle/src/main/resources/db/1.0.3.sql diff --git a/hzims-service/hzims-middle/src/main/resources/db/1.0.1.sql b/hzims-service/hzims-middle/src/main/resources/db/1.0.1.sql index a3478ce..32c5df5 100644 --- a/hzims-service/hzims-middle/src/main/resources/db/1.0.1.sql +++ b/hzims-service/hzims-middle/src/main/resources/db/1.0.1.sql @@ -1 +1,49 @@ -alter table hzims_workflow_operation_log add is_operation_log tinyint(1) comment '1 正常日志 0 错误日志'; \ No newline at end of file +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); diff --git a/hzims-service/hzims-middle/src/main/resources/db/1.0.2.sql b/hzims-service/hzims-middle/src/main/resources/db/1.0.2.sql deleted file mode 100644 index 9771348..0000000 --- a/hzims-service/hzims-middle/src/main/resources/db/1.0.2.sql +++ /dev/null @@ -1 +0,0 @@ -alter table hzims_statistics add sort int comment '排序'; diff --git a/hzims-service/hzims-middle/src/main/resources/db/1.0.3.sql b/hzims-service/hzims-middle/src/main/resources/db/1.0.3.sql deleted file mode 100644 index 2e351c5..0000000 --- a/hzims-service/hzims-middle/src/main/resources/db/1.0.3.sql +++ /dev/null @@ -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);