From 58bb1aae5fea7dd05f31299a97e7d62e7a8d8bff Mon Sep 17 00:00:00 2001 From: yang_shj Date: Mon, 10 Apr 2023 13:38:47 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=AB=99=E7=82=B9=E5=A1=AB=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java | 3 --- .../hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java | 4 ---- 2 files changed, 7 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java index 4dd253a..cec6fd2 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicSubordinateVo.java +++ b/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; diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java index b12c294..ff2ea0d 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/PhotovoltaicServiceImpl.java +++ b/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 nowWeather = this.weatherService.getNowWeather(Collections.singletonList(station.getCode())); if (MapUtils.isNotEmpty(nowWeather)) {