diff --git a/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java b/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java index 44ff3d58..b1047cc6 100644 --- a/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java +++ b/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java @@ -598,6 +598,7 @@ public class WeatherForecastController extends BaseController { List list = dcWarningService.selectStakeWarningTable(); List result = list.stream() + .filter(table ->"2".equals(table.getWarningType())) .map(table -> { JSONObject otherConfig = JSONObject.parseObject(table.getOtherConfig()); String earlyWorningSignal = otherConfig.getString("earlyWorningSignal");