From d9eeceed86c1ce43c73dda00a108595a078a8f3d Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期四, 29 五月 2025 18:44:53 +0800 Subject: [PATCH] * --- src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java b/src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java index 03174ff..4f915b1 100644 --- a/src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java +++ b/src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java @@ -1,7 +1,7 @@ package com.zy.asrs.task; import com.zy.asrs.task.core.ReturnT; -import com.zy.asrs.task.handler.BarcodeUploadHandler; +import com.zy.asrs.task.handler.ReportToDismantleTheStackHandler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @@ -14,13 +14,13 @@ public class ReportToDismantleTheStackScheduler { @Autowired - private BarcodeUploadHandler barcodeUploadHandler; + private ReportToDismantleTheStackHandler reportToDismantleTheStackHandler; - @Scheduled(cron = "0/3 * * * * ? ") - private void execute(){//鏉$爜涓婁紶涓帶 - int[] staNos =new int[]{216,220}; +// @Scheduled(cron = "0/3 * * * * ? ") + private void execute(){//鎷嗗灈淇℃伅涓婁紶 + int[] staNos =new int[]{118,119,120,121}; for (int staNo : staNos){ - ReturnT<String> result = barcodeUploadHandler.start(staNo); + ReturnT<String> result = reportToDismantleTheStackHandler.start(staNo); if (result.getCode()==200){ break; } -- Gitblit v1.9.1