|
|
|
@ -847,10 +847,6 @@ public class PhotovoltaicServiceImpl implements PhotovoltaicService {
|
|
|
|
|
subordinate.setAreaName(R.getData().getName()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// 站点类型
|
|
|
|
|
if (HomePageConstant.STATION.equals(entry.getKey().getDeptCategory())) { |
|
|
|
|
subordinate.setType(entry.getValue().get(0).getPhotovoltaicType()); |
|
|
|
|
} |
|
|
|
|
// 获取实时天气
|
|
|
|
|
Map<String, HeWeatherWeatherNowResponse> nowWeather = this.weatherService.getNowWeather(Collections.singletonList(station.getCode())); |
|
|
|
|
if (MapUtils.isNotEmpty(nowWeather)) { |
|
|
|
|