|
|
@ -342,6 +342,7 @@ public class WeatherForecastController extends BaseController { |
|
|
|
//}
|
|
|
|
}).collect(Collectors.toList()); |
|
|
|
if (collect.size() != UniversalEnum.ZERO.getNumber()) { |
|
|
|
redisCache.deleteObject("currentWeatherWarningInformationQuery"); |
|
|
|
redisCache.setCacheList("currentWeatherWarningInformationQuery", collect); |
|
|
|
return AjaxResult.success(collect); |
|
|
|
} else { |
|
|
|