src/main/java/com/moral/task/ForecastWeatherInsertTask.java
@@ -25,7 +25,17 @@ if (count > 0) { return new ReturnT(200, "插入成功"); }else { return new ReturnT(200, "插入失败"); return new ReturnT(500, "插入失败"); } } @XxlJob("forecastWeatherHourNew") public ReturnT insertForecastWeatherNew(String param) throws ParseException { int count = forecastWeatherService.insertForecastWeatherNew(); if (count > 0) { return new ReturnT(200, "插入成功"); }else { return new ReturnT(500, "插入失败"); } } }