| | |
| | | List<BattRealTimeDataHistory> fcVolListOriginal = battRTDataHisService.getFcVolList(battGroupId,dischargeStartTime); |
| | | //按单体编号排序,按编号升序 |
| | | fcVolListOriginal.sort(Comparator.comparingInt(BattRealTimeDataHistory::getMonNum)); |
| | | addStatistics(fcVolListOriginal,"vol"); |
| | | addStatistics(fcVolListOriginal,"vol","tmp"); |
| | | //总电流总电压列入 |
| | | Float fcGroupVol = fcVolListOriginal.get(0).getGroupVol(); |
| | | Float fcGroupCurr = fcVolListOriginal.get(0).getGroupCurr(); |
| | |
| | | rowTemp.createCell(3).setCellValue(preVolList.get(j).getGroupCurr()); |
| | | }else { |
| | | rowTemp.createCell(1).setCellValue(fcVolList.get(j).getMonVol()); |
| | | rowTemp.createCell(2).setCellValue(fcVolList.get(j).getMonVol()); |
| | | rowTemp.createCell(2).setCellValue(fcVolList.get(j).getMonTmp()); |
| | | rowTemp.createCell(3).setCellValue(preVolList.get(j).getMonVol()); |
| | | rowTemp.createCell(4).setCellValue(preVolList.get(j).getMonTmp()); |
| | | } |