From 3af3b194265d37e40c8d141155bdc872781d8729 Mon Sep 17 00:00:00 2001
From: skyouc <958836976@qq.com>
Date: 星期五, 27 三月 2026 20:42:11 +0800
Subject: [PATCH] no message
---
src/main/java/com/zy/asrs/controller/MobileController.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 51 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java
index 4b3cb11..72347fe 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -187,6 +187,15 @@
return mobileService.getCacheLocs();
}
+
+ @ManagerAuth
+ @GetMapping("/cache/sites/{type}")
+ @ApiOperation("鑾峰彇缂撳瓨鍖哄叆鍑哄簱绔欑偣淇℃伅")
+ public R getCacheSites(@PathVariable String type) {
+ return mobileService.getCacheSites(type);
+
+ }
+
@PostMapping("/cache/agv/call")
@ApiOperation("缂撳啿鍖哄叆搴�")
@ManagerAuth
@@ -214,7 +223,7 @@
* @version 1.0
*/
@PostMapping("/cache/out/call")
- @ApiOperation("鍛煎彨AGV鎼繍")
+ @ApiOperation("鍛煎彨AGV鎼繍/缂撳瓨鍑哄簱")
@ManagerAuth
public R OutCallAgv(@RequestBody AgvCallParams params) {
if (Objects.isNull(params)) {
@@ -352,6 +361,46 @@
}
/**
+ * 绌烘澘鍑哄簱
+ * @param params
+ * @return
+ */
+ @RequestMapping("/empty/call/out")
+ public R getEmptyOut(@RequestBody AgvCallParams params) {
+ if (Objects.isNull(params)) {
+ return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+ }
+ return mobileService.getEmptyOutStock(params);
+ }
+
+
+ /**
+ *
+ * 鑾峰彇鎹嗗寘鍑哄簱鏄庣粏
+ * @param params
+ * @return
+ */
+ @ManagerAuth(memo = "鑾峰彇鎹嗗寘鏄庣粏淇℃伅")
+ @RequestMapping("/agv/bind/info")
+ public R getAllBind(@RequestBody AgvCallParams params) {
+ if (Objects.isNull(params)) {
+ return R.error("鍙傛暟涓嶈兘涓虹┖!!");
+ }
+ return mobileService.getAllBindInfo(params);
+ }
+
+ @ApiOperation("纭鎹嗗寘鍑哄簱")
+ @ManagerAuth(memo = "纭鎹嗗寘鍑哄簱")
+ @RequestMapping("/agv/out/confirm")
+ public R confirmOutStock(@RequestBody CombParam combParam) {
+ if (Objects.isNull(combParam)) {
+ return R.error("鍙傛暟涓嶈兘涓虹┖!!");
+ }
+
+ return mobileService.confirmOutstock(combParam);
+ }
+
+ /**
* @author Ryan
* @date 2025/9/24
* @description: 鍛煎彨AGV杩斿洖
@@ -363,7 +412,6 @@
if (Objects.isNull(callAgvBackParam.getOrgSite())) {
return R.error("鍙傛暟涓嶈兘涓虹┖!!");
}
-
return mobileService.agvCallback(callAgvBackParam, getUserId());
}
@@ -374,8 +422,7 @@
if (Objects.isNull(combParam)) {
return R.error("鍙傛暟涓嶈兘涓虹┖!!");
}
- mobileService.combInPub(combParam, 10031L);
- return R.ok("涓婃灦鎴愬姛");
+ return mobileService.combInPub(combParam, 10031L);
}
@RequestMapping("/pack/get/auth")
--
Gitblit v1.9.1