From 4103bb9c1279fa84dffa3d5aa99298da426b00fe Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 12 十二月 2024 09:17:01 +0800
Subject: [PATCH] #回库任务不生成历史工作明细,同时保留订单编号

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

diff --git a/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java b/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
index 1f11b63..d90a3a3 100644
--- a/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
+++ b/src/main/java/com/zy/asrs/task/AutoLocMoveScheduler.java
@@ -41,7 +41,7 @@
     @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLocAutoLocMove(){
         if (slaveWmsParameterProperties.isAutoLocMoveBoolean()){
-            Config config = configService.selectById("AutoLocMove");
+            Config config = configService.selectConfigByCode("AutoLocMove");
             if (Cools.isEmpty(config) || config.getValue().equals("false")) {
                 return;
             }
@@ -63,7 +63,7 @@
     @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLoc11(){
         if (slaveWmsParameterProperties.isAutoLocMoveUnilateralBoolean()){
-            Config config = configService.selectById("AutoLocMoveUnilateral");
+            Config config = configService.selectConfigByCode("AutoLocMoveUnilateral");
             if (Cools.isEmpty(config) || config.getValue().equals("false")) {
                 return;
             }
@@ -82,7 +82,7 @@
     @Scheduled(cron = "0/3 * * * * ? ")
     public void locToLoc111() {
         if (slaveWmsParameterProperties.isAutoLocMoveUnilateralBoolean()){
-            Config config = configService.selectById("AutoLocMoveUnilateral");
+            Config config = configService.selectConfigByCode("AutoLocMoveUnilateral");
             if (Cools.isEmpty(config) || config.getValue().equals("false")) {
                 return;
             }

--
Gitblit v1.9.1