From 3561e51242931f77620deeb755462881e52d89ca Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期二, 09 七月 2024 09:36:15 +0800 Subject: [PATCH] #入库托盘码管控 --- src/main/java/com/zy/asrs/task/ErrorStockScheduler.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java b/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java index deb20bf..6961994 100644 --- a/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java +++ b/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java @@ -28,6 +28,14 @@ } } + @Scheduled(cron = "0/60 * * * * ? ") + private void executeAgv(){ + ReturnT<String> returnT = errorStockHandler.startAgv(); + if (!returnT.isSuccess()) { + log.error(returnT.getMsg()); + } + } + // @Autowired // private BasErrLogService basErrLogService; // @Autowired -- Gitblit v1.9.1