From 1b7fa84d5b48c67f920ff9d3202ceb9bda80bdc5 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 06 五月 2025 19:36:06 +0800 Subject: [PATCH] 地图绘制完成 --- src/main/java/com/zy/asrs/task/TaskReportScheduler.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/TaskReportScheduler.java b/src/main/java/com/zy/asrs/task/TaskReportScheduler.java index 1e31a15..4e81506 100644 --- a/src/main/java/com/zy/asrs/task/TaskReportScheduler.java +++ b/src/main/java/com/zy/asrs/task/TaskReportScheduler.java @@ -17,7 +17,6 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; -import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.io.IOException; @@ -43,13 +42,13 @@ @Value("${wms.url}") private String wmsUrl; - @Value("${wms.TaskExecCallback}") + @Value("${wms.taskExecCallback}") private String TaskExecCallback; - @Scheduled(cron = "0/3 * * * * ? ") + //@Scheduled(cron = "0/3 * * * * ? ") public void execute() throws IOException { - Page<TaskWrkReport> taskWrkReportPage = taskWrkReportService.selectPage(new Page<>(0, 100), new EntityWrapper<TaskWrkReport>().orderBy("createTime", true)); + Page<TaskWrkReport> taskWrkReportPage = taskWrkReportService.selectPage(new Page<>(0, 100), new EntityWrapper<TaskWrkReport>().orderBy("create_time", true)); if (taskWrkReportPage.getRecords() != null) { //鏂板涓�涓繃婊ゆ満鍒� for (TaskWrkReport taskWrk : taskWrkReportPage.getRecords()) { -- Gitblit v1.9.1