|
@@ -227,10 +227,6 @@ public class CommonServiceImpl implements CommonService {
|
|
|
String itemId = itemIdList[0];
|
|
|
String itemStandardCode = itemIdList[1];
|
|
|
String targetCode = iDataAnalysisWebService.getTargetCode(userCode, groupCode, itemId);
|
|
|
- if (null == targetCode) {
|
|
|
- log.info("根据itemId:" + itemId + "未获取到数据质量配置信息");
|
|
|
- return new HotelProjectMaintenanceGraph();
|
|
|
- }
|
|
|
CountAndDayRateDataVo dataVo = iDataAnalysisWebService.getIotDataAnalysisData(userCode, groupCode, projectId, reportDate, targetCode);
|
|
|
List<DateGraphItemVO> dateGraphItemVOList = new ArrayList<>();
|
|
|
TreeMap<Date, Double> dataMap = dataVo.getDataMap();
|
|
@@ -413,7 +409,7 @@ public class CommonServiceImpl implements CommonService {
|
|
|
sortMap.put("eer", -1);
|
|
|
DataUtils.sort(projectEERDataVoList, sortMap);
|
|
|
for (int i = 0; i < projectEERDataVoList.size(); i++) {
|
|
|
- ProjectEERDataVo vo = projectEERDataVoList.get(0);
|
|
|
+ ProjectEERDataVo vo = projectEERDataVoList.get(i);
|
|
|
if (!vo.getProjectId().equals(projectId)) {
|
|
|
continue;
|
|
|
}
|
|
@@ -421,6 +417,9 @@ public class CommonServiceImpl implements CommonService {
|
|
|
hotelProjectChillerPlantEfficiency.setMaxEerTime(vo.getMaxEerTimeList());
|
|
|
hotelProjectChillerPlantEfficiency.setMinEerTime(vo.getMinEerTimeList());
|
|
|
hotelProjectChillerPlantEfficiency.setCoolingCapacityCurrentMonth(vo.getCoolingCapacityCurrentMonth());
|
|
|
+ List<DateGraphItemVO> eerDetailInfo = vo.getEerDetailInfo();
|
|
|
+ sortMap.put("date", 1);
|
|
|
+ DataUtils.sort(vo.getEerDetailInfo(), sortMap);
|
|
|
hotelProjectChillerPlantEfficiency.setEerDetailInfo(vo.getEerDetailInfo());
|
|
|
if (vo.getEer() != null) {
|
|
|
hotelProjectChillerPlantEfficiency.setRankWithinClimateZone(i + 1);
|