pms pq修改

This commit is contained in:
2023-06-02 13:55:31 +08:00
parent 2486e3b57e
commit b88ea56b5e
13 changed files with 278 additions and 12 deletions

View File

@@ -421,7 +421,7 @@ public class NormalLimitServiceImpl extends ServiceImpl<AbnormalMapper, MpSurplu
}
}
String sqlData_Ih = "select " + tem2 + " from data_inharmrate_v "+bang+ " and value_type = 'CP95'" + InfluxDBPublicParam.TIME_ZONE;
String sqlData_Ih = "select " + tem2 + " from data_inharm_v "+bang+ " and value_type = 'CP95'" + InfluxDBPublicParam.TIME_ZONE;
List<Map<String, Object>> mapData_Ih = influxDbUtils.getMapResult(sqlData_Ih);
if (CollUtil.isNotEmpty(mapData_Ih)) {
List<String> useList = new ArrayList<>();
@@ -508,7 +508,7 @@ public class NormalLimitServiceImpl extends ServiceImpl<AbnormalMapper, MpSurplu
}
if (CollUtil.isNotEmpty(useList)) {
assTest(useList,bang,"data_inharmrate_v",3,mpSurplusAbnormalDMax,mpSurplusAbnormalDMin,mpSurplusAbnormalDAvg);
assTest(useList,bang,"data_inharm_v",3,mpSurplusAbnormalDMax,mpSurplusAbnormalDMin,mpSurplusAbnormalDAvg);
}
}