From d6ff18e0ff89d36e80195da43ca40bf3a8f42b2c Mon Sep 17 00:00:00 2001
From: Administrator <pjb>
Date: 星期日, 15 六月 2025 09:38:14 +0800
Subject: [PATCH] wms分配库位异常

---
 src/main/java/com/zy/core/cache/MessageQueue.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/zy/core/cache/MessageQueue.java b/src/main/java/com/zy/core/cache/MessageQueue.java
index cf6e475..f5385e7 100644
--- a/src/main/java/com/zy/core/cache/MessageQueue.java
+++ b/src/main/java/com/zy/core/cache/MessageQueue.java
@@ -1,6 +1,5 @@
 package com.zy.core.cache;
 
-import com.zy.asrs.utils.CommandUtils;
 import com.zy.core.Slave;
 import com.zy.core.enums.SlaveType;
 import com.zy.core.model.Task;
@@ -62,7 +61,6 @@
      * 濡傛灉鍙戠幇闃熷垪宸叉弧鏃犳硶娣诲姞鐨勮瘽锛屼細鐩存帴杩斿洖false銆�
      */
     public static boolean offer(SlaveType type, Integer id, Task task) {
-        CommandUtils.offer(type, id, task);
         switch (type) {
             case Crn:
                 return CRN_EXCHANGE.get(id).offer(task);
@@ -126,10 +124,10 @@
         }
     }
 
-    public static void clear(SlaveType type, Integer id){
+    public static void clear(SlaveType type, Integer id) {
         switch (type) {
             case Crn:
-                
+
                 CRN_EXCHANGE.get(id).clear();
                 break;
             case Devp:

--
Gitblit v1.9.1