From 59921c28ca5003e7b57e3e1eacfefc19ac7f03d9 Mon Sep 17 00:00:00 2001 From: LGH <1746689524@qq.com> Date: Fri, 18 Nov 2022 10:15:35 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=B8=8A=E6=8A=A5apms=E7=82=89?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mt/wms/empty/task/ScheduledTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java index 5772591..37b4335 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java @@ -135,7 +135,7 @@ public class ScheduledTask extends BaseService { /** * 正在加工的加工任务详情 */ - //@Scheduled(fixedDelay = 1000*60) + @Scheduled(fixedDelay = 1000 * 60) public void screen() throws IOException { //查询出正在进炉加工的curr_task,查询对应炉号是否Working,查询计划时间,剩余时间,查询标识卡详情 List currTaskList = currTaskServiceBiz.list(new QueryWrapper() @@ -570,7 +570,7 @@ public class ScheduledTask extends BaseService { //遍历工业炉,空工业炉查询缓存区是否有等待加工的任务, //待加工任务存在且没有状态为正在进炉的情况下,按照先进先出的规则选择待加工任务呼叫车辆进炉 - //@Scheduled(fixedDelay = 1000*60) + @Scheduled(fixedDelay = 1000 * 60) public void runTaskForEmptyKiln() throws IOException { List kilnInfoList = kilnInfoServiceBiz.list(new QueryWrapper() .eq(KilnInfo.VALID, 1).eq(KilnInfo.STATUS, 0).orderByAsc(KilnInfo.TYPE)); @@ -644,7 +644,7 @@ public class ScheduledTask extends BaseService { } //遍历正在工作炉子的报警变量,记录报警 - //@Scheduled(fixedDelay = 1000*60) + @Scheduled(fixedDelay = 1000 * 60) public void listenKilnAlarm() { List kilnInfoList = kilnInfoServiceBiz.list(); for (KilnInfo kilnInfo : kilnInfoList