|
@@ -128,9 +128,11 @@ public class IEnvironmentWebServiceImpl implements IEnvironmentWebService {
|
|
|
}*/
|
|
|
List<Date> dateList = DateUtils.getDayList(DateUtils.str2Date(batchQueryEnvListByParamDTO.getStartTime(), DateUtils.SDF_SECOND), DateUtils.str2Date(batchQueryEnvListByParamDTO.getEndTime(), DateUtils.SDF_SECOND));
|
|
|
for (Date date : dateList) {
|
|
|
+ String dateStr = DateUtils.date2Str(date, DateUtils.SDF_SECOND);
|
|
|
+ String dateStrToEight = DateUtils.date2Str(DateUtils.getHourOff(date, 8), DateUtils.SDF_SECOND);
|
|
|
DateGraphItemVO dateGraphItemVO = new DateGraphItemVO();
|
|
|
dateGraphItemVO.setDate(date);
|
|
|
- dateGraphItemVO.setValue(null == dataMap ? null : dataMap.get(DateUtils.date2Str(date, DateUtils.SDF_SECOND)));
|
|
|
+ dateGraphItemVO.setValue(null == dataMap ? null : dataMap.get(dateStrToEight) == null ? dataMap.get(dateStr) : dataMap.get(dateStrToEight));
|
|
|
detailInfo.add(dateGraphItemVO);
|
|
|
}
|
|
|
resultList.add(hotelProjectKpiItem);
|