From 6df97fba67b0e0698a02673e65c6eca00879d5be Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 05 十二月 2025 08:16:44 +0800
Subject: [PATCH] #出库单

---
 src/main/java/com/zy/asrs/controller/MobileController.java |   62 +++++++++++++++++++++++++++++++
 1 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java
index 6a9a1e9..05cbd57 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -16,6 +16,7 @@
 import com.zy.asrs.utils.OrderInAndOutUtil;
 import com.zy.common.model.WrkDto;
 import com.zy.common.web.BaseController;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
@@ -58,6 +59,13 @@
 
     @Resource
     private StaDescService staDescService;
+
+
+    @PostMapping("/agv/callEmptyCar")
+    @ManagerAuth
+    public R pdaAgvFinishedCall(@RequestBody AgvCallParams params){
+        return mobileService.callEmptyCar(params, getUserId());
+    }
 
     @RequestMapping("/pda/WarehouseOut/v1")
     @ManagerAuth(memo = "骞舵澘閫斾腑鎷f枡-鍙傝�冨康鍒�")
@@ -122,6 +130,15 @@
         return mobileService.pickMats(matnr, orderNo);
     }
 
+    @PostMapping("/scan/order/mats")
+    @ManagerAuth(memo = "鎵爜鑾峰彇缁勬墭鐗╂枡")
+    public R scanMats(@RequestBody PakinMatsByQRParams params) {
+        if (Objects.isNull(params)) {
+            return R.parse("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.getMatsByQRcode(params);
+    }
+
     // 鍟嗗搧涓婃灦
     @RequestMapping("/mat/onSale/auth")
     @ManagerAuth
@@ -138,6 +155,51 @@
     }
 
 
+    @GetMapping("/cache/locs")
+    @ManagerAuth
+    @ApiOperation("鑾峰彇缂撳瓨鍖哄簱浣嶄俊鎭�")
+    public R getCacheLocs() {
+        return mobileService.getCacheLocs();
+    }
+
+
+    @PostMapping("/cache/agv/call")
+    @ApiOperation("鍛煎彨绌鸿溅")
+    @ManagerAuth
+    public R callAgvMove(@RequestBody AgvCallParams params) {
+        if (Objects.isNull(params)) {
+            return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.callAgvMove(params, getUserId());
+    }
+
+    @PostMapping("/collection/agv/call")
+    @ApiOperation("闆嗚揣鍖哄叆搴�")
+    @ManagerAuth
+    public R CollectionInCall(@RequestBody AgvCallParams params) {
+        if (Objects.isNull(params)) {
+            return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.collectionInCall(params, getUserId());
+    }
+
+
+    /**
+     * @author Ryan
+     * @date 2025/11/3
+     * @description: 鍛煎彨AGV鎼繍缂撳瓨鍖�/EO/SO
+     * @version 1.0
+     */
+    @PostMapping("/cache/out/call")
+    @ApiOperation("鍛煎彨AGV鎼繍")
+    @ManagerAuth
+    public R OutCallAgv(@RequestBody AgvCallParams params) {
+        if (Objects.isNull(params)) {
+            return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.OutCallAgv(params, getUserId());
+    }
+
 
     // 缁勬墭 ----------------------------------------------------------------------------------------------------
 

--
Gitblit v1.9.1