From 9c7b28c7b7cfc1c5f411d72e401a947eaba6b06b Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 14 一月 2025 14:49:16 +0800
Subject: [PATCH] 优化代码,移除冗余,修复bug

---
 src/main/java/com/zy/asrs/service/AgvWorkService.java |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/AgvWorkService.java b/src/main/java/com/zy/asrs/service/AgvWorkService.java
index 96c64c7..190b1df 100644
--- a/src/main/java/com/zy/asrs/service/AgvWorkService.java
+++ b/src/main/java/com/zy/asrs/service/AgvWorkService.java
@@ -2,7 +2,6 @@
 
 import com.zy.asrs.entity.AgvBasDevp;
 import com.zy.asrs.entity.AgvWrkMast;
-import com.zy.asrs.entity.param.EmptyPlateOutParam;
 import com.zy.asrs.entity.param.LocDetlAdjustParam;
 import com.zy.asrs.entity.param.StockOutParam;
 import com.zy.common.model.StartupDto;
@@ -23,6 +22,11 @@
     void stockOutWrkMast(List<TaskDto> agvTaskDtos, Long userId);
 
     /*
+    鐢熸垚鍑哄簱浠诲姟
+     */
+    void processOut(List<TaskDto> agvTaskDtos, Long userId);
+
+    /*
     鐢熸垚鎷f枡鍏ュ簱浠诲姟
      */
     void pickIn(List<AgvWrkMast> agvWrkMastList);
@@ -40,9 +44,9 @@
     /*
     绌烘澘鍏ュ簱
      */
-    String emptyPlateIn(String sourceStaion, Long userId);
+    String emptyPlateIn(String station,String containerCode,Short containerType, Long userId, boolean emptyAutoIn);
 
-    void emptyPlateOut(EmptyPlateOutParam param, Long userId);
+    void emptyPlateOut(String station, int containerType, Long userId);
 
     /**
      * 搴撳瓨鏄庣粏璋冩暣
@@ -57,6 +61,11 @@
     /**
      * 鎵嬪姩鍙栨秷宸ヤ綔妗�
      */
-    void cancelWrkMast(String workNo, Long userId);
+    void cancelWrkMast(String workNo, Long userId, Integer type);
+
+    /**
+     * 鍒囨崲璋冩嫧绫诲瀷
+     */
+    void changeType(String workNo, Long userId);
 
 }

--
Gitblit v1.9.1