Browse Source

#定时任务抽离

zhongwei
yang_shj 1 year ago
parent
commit
7ef8bb0da7
  1. 3
      hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/ecology/vo/StationVo.java
  2. 1
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/impl/EcologyFlowStationServiceImpl.java

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

@ -22,6 +22,9 @@ public class StationVo {
@ApiModelProperty(value = "水位") @ApiModelProperty(value = "水位")
private Double water; private Double water;
@ApiModelProperty(value = "水位")
private Double damWater;
@ApiModelProperty(value = "设备集合") @ApiModelProperty(value = "设备集合")
private List<DeviceVo> devices; private List<DeviceVo> devices;

1
hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/impl/EcologyFlowStationServiceImpl.java

@ -257,6 +257,7 @@ public class EcologyFlowStationServiceImpl extends BaseServiceImpl<EcologyFlowSt
} }
WaterLevelVo level = validList.get(0); WaterLevelVo level = validList.get(0);
station.setWater(level.getFrontWaterLevel()); station.setWater(level.getFrontWaterLevel());
station.setDamWater(level.getFrontWaterLevel());
} }
/** /**

Loading…
Cancel
Save