diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/data/vo/WeatherWaterVo.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/data/vo/WeatherWaterVo.java index f8a4ee1..9b61df7 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/data/vo/WeatherWaterVo.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/data/vo/WeatherWaterVo.java @@ -15,6 +15,9 @@ public class WeatherWaterVo { @ApiModelProperty("站点名称") private String stationName; + @ApiModelProperty("限制水位") + private Double limitWater; + @ApiModelProperty("天气") private List dailys; diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/data/service/impl/HzimsDataServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/data/service/impl/HzimsDataServiceImpl.java index 7990016..6550b4f 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/data/service/impl/HzimsDataServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/data/service/impl/HzimsDataServiceImpl.java @@ -278,6 +278,7 @@ public class HzimsDataServiceImpl implements HzimsDataService { if(ObjectUtil.isEmpty(station)){ return new WeatherWaterVo(); } + weatherWater.setLimitWater(station.getLimitWaterLevel()); weatherWater.setStationName(station.getName()); // 七天天气 Map weekWeather = this.getWeekWeather(Collections.singletonList(station.getCode()));