From 2176e2a7f50860aaf57b6de5f6cb7dfef5d69fdd Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 10 七月 2024 18:07:42 +0800
Subject: [PATCH] 关闭其他项目多余定时任务

---
 src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java b/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
index d90a3a3..26c49eb 100644
--- a/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
+++ b/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
@@ -2,7 +2,9 @@
 
 import com.baomidou.mybatisplus.mapper.EntityWrapper;
 import com.core.common.Cools;
-import com.zy.asrs.entity.*;
+import com.zy.asrs.entity.BasCrnp;
+import com.zy.asrs.entity.Order;
+import com.zy.asrs.entity.WrkMast;
 import com.zy.asrs.service.*;
 import com.zy.asrs.task.handler.AutoLocMoveHandler;
 import com.zy.common.properties.SlaveWmsParameterProperties;
@@ -10,7 +12,6 @@
 import com.zy.system.service.ConfigService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
 @Slf4j
@@ -38,7 +39,7 @@
     private AutoMoveService autoMoveService;
 
     //瀹氭椂鍑哄簱   缁忓吀鍙屼几
-    @Scheduled(cron = "0/3 * * * * ? ")
+//    @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLocAutoLocMove(){
         if (slaveWmsParameterProperties.isAutoLocMoveBoolean()){
             Config config = configService.selectConfigByCode("AutoLocMove");
@@ -60,7 +61,7 @@
     }
 
     //瀹氭椂鍑哄簱
-    @Scheduled(cron = "0/3 * * * * ? ")
+//    @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLoc11(){
         if (slaveWmsParameterProperties.isAutoLocMoveUnilateralBoolean()){
             Config config = configService.selectConfigByCode("AutoLocMoveUnilateral");
@@ -79,7 +80,7 @@
     }
 
     //瀹氭椂鍏ュ簱
-    @Scheduled(cron = "0/3 * * * * ? ")
+//    @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLoc111() {
         if (slaveWmsParameterProperties.isAutoLocMoveUnilateralBoolean()){
             Config config = configService.selectConfigByCode("AutoLocMoveUnilateral");

--
Gitblit v1.9.1