| | |
| | | private List<StatisticEleRecordVo> queryHourRecords(String startTime, String endTime) { |
| | | String normalizedStart = StatisticEleAggregateUtil.normalizeQueryStartTimeKey(startTime); |
| | | String normalizedEnd = StatisticEleAggregateUtil.normalizeQueryEndTimeKey(endTime); |
| | | return eleRecordMapper.selectRecordList(DATA_DIMENSIONS, normalizedStart, normalizedEnd); |
| | | List<StatisticEleRecordVo> records = eleRecordMapper.selectRecordList(DATA_DIMENSIONS, normalizedStart, normalizedEnd); |
| | | StatisticEleAggregateUtil.normalizeConsumptions(records); |
| | | return records; |
| | | } |
| | | |
| | | private List<StatisticEleRecordVo> aggregateFromHour( |