From 4dc585d5bf2fd0a01602aba0d9fa25adbaf4a7fb Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期一, 18 九月 2023 18:45:03 +0800 Subject: [PATCH] 提交仓内抓拍和后台配置 --- igds-web/src/main/java/com/ld/igds/TestAction.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/igds-web/src/main/java/com/ld/igds/TestAction.java b/igds-web/src/main/java/com/ld/igds/TestAction.java index 5fb216b..75db25c 100644 --- a/igds-web/src/main/java/com/ld/igds/TestAction.java +++ b/igds-web/src/main/java/com/ld/igds/TestAction.java @@ -11,7 +11,7 @@ import com.ld.igds.grain.service.CoreGrainService; import com.ld.igds.models.WeatherConf; import com.ld.igds.models.WeatherInfo; -import com.ld.igds.timer.WeatherScheduled; +import com.ld.igds.timer.WeatherTimerService; import com.ld.igds.util.RedisUtil; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; @@ -37,7 +37,7 @@ @Autowired private RedisUtil redisUtil; @Autowired - private WeatherScheduled weatherScheduled; + private WeatherTimerService weatherTimerService; @Override public String getUrl() { @@ -137,7 +137,7 @@ } if (t.equals("weather11")) { - weatherScheduled.scheduled(); + weatherTimerService.doExe(); } } @@ -168,7 +168,7 @@ log.info("-----娴嬭瘯璋冪敤姘旇薄----deptId={},cityId={}", deptId, cityId); Date date = new Date(); - WeatherInfo info = weatherScheduled.getWeatherByWeb(date, conf); + WeatherInfo info = weatherTimerService.getWeatherByWeb(date, conf); if (null == info) { response.getWriter().print("MSG:ERROR"); } else { -- Gitblit v1.9.3