kaiyu
2020-10-21 5e9129373399e9cc3bdecf9b8365e1c6b6b0ecdd
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, "插入失败");
        }
    }
}