From 7cfccce65263db0028be75baea3c8ee57d85e6c2 Mon Sep 17 00:00:00 2001 From: ty <1577900710@qq.com> Date: Thu, 11 Apr 2024 10:25:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E6=B0=B4=E7=94=B5?= =?UTF-8?q?=E7=AB=99=E8=BF=90=E8=A1=8C=E6=9C=88=E6=8A=A5=E8=A1=A8=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims-alarm/src/main/resources/db/2.0.0.sql.1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hzims-service/hzims-alarm/src/main/resources/db/2.0.0.sql.1 b/hzims-service/hzims-alarm/src/main/resources/db/2.0.0.sql.1 index f149e2a..474a406 100644 --- a/hzims-service/hzims-alarm/src/main/resources/db/2.0.0.sql.1 +++ b/hzims-service/hzims-alarm/src/main/resources/db/2.0.0.sql.1 @@ -23,3 +23,24 @@ CREATE TABLE `hzims_alarm_defaul_config` ( PRIMARY KEY (`ID`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +DROP TABLE IF EXISTS `hzims_run_month_report`; +CREATE TABLE `hzims_run_month_report` ( + `ID` bigint(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` varchar(64) DEFAULT NULL COMMENT '站点编码', + `STATION_NAME` varchar(255) DEFAULT NULL COMMENT '站点名称', + `MONTH` varchar(255) DEFAULT NULL COMMENT '月份 : "yyyy-MM"', + `RUN_DATA` text COMMENT '运行数据', + `ALARM_DATA` text COMMENT '告警数据', + `CURVE_DATA` text COMMENT '曲线数据', + `ANALYSIS_DATA` text COMMENT '分析数据', + `RUN_PROPOSE` text COMMENT '运行建议', + `TENANT_ID` varchar(12) DEFAULT NULL COMMENT '租户ID', + `STATUS` tinyint(4) DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` bigint(20) DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` tinyint(4) NOT NULL DEFAULT '0', + `CREATE_USER` bigint(20) DEFAULT NULL COMMENT '创建人', + `CREATE_TIME` datetime DEFAULT NULL COMMENT '创建时间', + `UPDATE_USER` bigint(20) DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` datetime DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`ID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file