Browse Source

交通流异常预警信息

develop
王兴琳 3 weeks ago
parent
commit
a97a8b9787
  1. 1
      zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java

1
zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java

@ -598,6 +598,7 @@ public class WeatherForecastController extends BaseController {
List<DcNoStakeWarningTable> list = dcWarningService.selectStakeWarningTable(); List<DcNoStakeWarningTable> list = dcWarningService.selectStakeWarningTable();
List<JSONObject> result = list.stream() List<JSONObject> result = list.stream()
.filter(table ->"2".equals(table.getWarningType()))
.map(table -> { .map(table -> {
JSONObject otherConfig = JSONObject.parseObject(table.getOtherConfig()); JSONObject otherConfig = JSONObject.parseObject(table.getOtherConfig());
String earlyWorningSignal = otherConfig.getString("earlyWorningSignal"); String earlyWorningSignal = otherConfig.getString("earlyWorningSignal");

Loading…
Cancel
Save