From 2277e015aeb3200a5769069651644e7a02af9e7b Mon Sep 17 00:00:00 2001 From: chendaofei <857448963@qq.com> Date: Fri, 27 Dec 2024 15:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/gather/storage/pojo/po/AdHarmonicResult.java | 2 ++ .../com/njcn/gather/storage/pojo/po/AdNonHarmonicResult.java | 2 ++ .../njcn/gather/storage/service/impl/TableGenServiceImpl.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdHarmonicResult.java b/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdHarmonicResult.java index 18fffeff..e4e008db 100644 --- a/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdHarmonicResult.java +++ b/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdHarmonicResult.java @@ -36,6 +36,8 @@ public class AdHarmonicResult { */ private String scriptDtlsId; + private Integer index; + /** * 检测指标,字典表 */ diff --git a/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdNonHarmonicResult.java b/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdNonHarmonicResult.java index cab4b5f9..053a7149 100644 --- a/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdNonHarmonicResult.java +++ b/storage/src/main/java/com/njcn/gather/storage/pojo/po/AdNonHarmonicResult.java @@ -36,6 +36,8 @@ public class AdNonHarmonicResult { */ private String scriptDtlsId; + private Integer index; + /** * 检测指标,字典表 */ diff --git a/storage/src/main/java/com/njcn/gather/storage/service/impl/TableGenServiceImpl.java b/storage/src/main/java/com/njcn/gather/storage/service/impl/TableGenServiceImpl.java index f0ce3135..96785b0f 100644 --- a/storage/src/main/java/com/njcn/gather/storage/service/impl/TableGenServiceImpl.java +++ b/storage/src/main/java/com/njcn/gather/storage/service/impl/TableGenServiceImpl.java @@ -39,6 +39,7 @@ public class TableGenServiceImpl implements TableGenService { " Monitor_Id CHAR(32) NOT NULL COMMENT '监测点Id',\n" + " Time_Id DATETIME NOT NULL COMMENT '时间',\n" + " Script_Dtls_Id CHAR(32) NOT NULL COMMENT '检测脚本子表Id,字典表',\n" + + " index int(5) NOT NULL COMMENT '总检测脚本中的测试项序号',\n" + " AD_Type CHAR(32) NOT NULL COMMENT '检测指标,字典表',\n" + " Data_Type CHAR(32) NOT NULL COMMENT '数据指标,只有数据源为分钟统计时候才会使用(最大、最小、平均、CP95,默认平均值),字典表',\n" + A+B+C+ @@ -50,6 +51,7 @@ public class TableGenServiceImpl implements TableGenService { " Monitor_Id CHAR(32) NOT NULL COMMENT '监测点Id',\n" + " Time_Id DATETIME NOT NULL COMMENT '时间',\n" + " Script_Dtls_Id CHAR(32) NOT NULL COMMENT '检测脚本子表Id,字典表',\n" + + " index int(5) NOT NULL COMMENT '总检测脚本中的测试项序号',\n" + " AD_Type CHAR(32) NOT NULL COMMENT '检测指标,字典表',\n" + " Data_Type CHAR(32) NOT NULL COMMENT '数据指标,只有数据源为分钟统计时候才会使用(最大、最小、平均、CP95,默认平均值),字典表',\n" + " Result_Flag int(1) NOT NULL COMMENT '0.不合格 1.合格',\n" +