diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicKPIsVo.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicKPIsVo.java new file mode 100644 index 0000000..128489f --- /dev/null +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/main/vo/PhotovoltaicKPIsVo.java @@ -0,0 +1,34 @@ +package com.hnac.hzims.operational.main.vo; + + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author ysj + * @date 2023/03/23 16:54:36 + * @version 4.0.0 + */ +@Data +@ApiModel(value = "光伏集团/区域关键指标") +public class PhotovoltaicKPIsVo { + + @ApiModelProperty(value = "光伏站点数量") + private Integer count; + + @ApiModelProperty(value = "装机容量:单位-kw") + private Double installedCapacity; + + @ApiModelProperty(value = "负荷:单位-kw") + private Double load; + + @ApiModelProperty(value = "年发电量:单位-kWh") + private Double powerYear; + + @ApiModelProperty(value = "月发电量:单位-kWh") + private Double powerMon; + + @ApiModelProperty(value = "日发电量:单位-kWh") + private Double powerDay; +} diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/AbnormalAlarmServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/AbnormalAlarmServiceImpl.java index 108bd1f..577d016 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/AbnormalAlarmServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/AbnormalAlarmServiceImpl.java @@ -140,7 +140,8 @@ public class AbnormalAlarmServiceImpl extends BaseServiceImpl o.getCode().equals(item.getStation())).collect(Collectors.toList())).map(o->o.get(0).getName()).orElse(null); if(ObjectUtil.isEmpty(queryEntity) || !flag){ HistoryAbnormalAlarmEntity entity = new HistoryAbnormalAlarmEntity(); @@ -154,9 +155,13 @@ public class AbnormalAlarmServiceImpl extends BaseServiceImpl