|
@ -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"); |
|
|