Browse Source

#站点填报

zhongwei
yang_shj 2 years ago
parent
commit
58bb1aae5f
  1. 3
      hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java
  2. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java

3
hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java

@ -31,9 +31,6 @@ public class PhotovoltaicSubordinateVo {
@ApiModelProperty(value = "地市名称")
private String areaName;
@ApiModelProperty(value = "光伏站点类型:0-个体光伏站 1-厂房光伏站")
private Long type;
@ApiModelProperty("经度(东经)")
@JsonSerialize(nullsUsing = NullSerializer.class)
private Float lgtd;

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java

@ -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)) {

Loading…
Cancel
Save