|
|
|
@ -262,6 +262,7 @@ public class EnergyQueryServiceImpl implements IEnergyQueryService { |
|
|
|
map.put("copArr", Arrays.copyOfRange(copArr, startIndex, endIndex)); |
|
|
|
map.put("copArr", Arrays.copyOfRange(copArr, startIndex, endIndex)); |
|
|
|
map.put("timeStrArr", Arrays.copyOfRange(timeStrArr, startIndex, endIndex)); |
|
|
|
map.put("timeStrArr", Arrays.copyOfRange(timeStrArr, startIndex, endIndex)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
map.put("total", timeStrArr.length); |
|
|
|
|
|
|
|
|
|
|
|
// 组装赋值
|
|
|
|
// 组装赋值
|
|
|
|
List<Map<String, Object>> listData = new ArrayList<>(); |
|
|
|
List<Map<String, Object>> listData = new ArrayList<>(); |
|
|
|
@ -281,6 +282,9 @@ public class EnergyQueryServiceImpl implements IEnergyQueryService { |
|
|
|
Map<String, Object> timeStr = new HashMap<>(); |
|
|
|
Map<String, Object> timeStr = new HashMap<>(); |
|
|
|
timeStr.put("timeStrArr", map.get("timeStrArr")); |
|
|
|
timeStr.put("timeStrArr", map.get("timeStrArr")); |
|
|
|
listData.add(timeStr); |
|
|
|
listData.add(timeStr); |
|
|
|
|
|
|
|
Map<String, Object> total = new HashMap<>(); |
|
|
|
|
|
|
|
total.put("total", map.get("total")); |
|
|
|
|
|
|
|
listData.add(total); |
|
|
|
return AjaxResult.success(listData); |
|
|
|
return AjaxResult.success(listData); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|