From 1fdb053b64a033280a8ffe0ea10ad54b604e58cd Mon Sep 17 00:00:00 2001
From: skyouc <958836976@qq.com>
Date: 星期六, 28 二月 2026 16:31:37 +0800
Subject: [PATCH] no message
---
src/main/java/com/zy/asrs/controller/MobileController.java | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java
index 9184d71..2e24c37 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -63,6 +63,13 @@
@PostMapping("/agv/collectionPakin/view")
@ManagerAuth
public R pdaAgvCollectionPakinView(@RequestBody CollectionPakinParams params) {
+ if (Objects.isNull(params.getOrgBarcode())) {
+ return R.error("婧愭墭鐩樹笉鑳戒负绌猴紒");
+ }
+ if (Objects.isNull(params.getMatnr())) {
+ return R.error("鐗╂枡缂栫爜涓嶈兘涓虹┖锛侊紒");
+ }
+
return mobileService.collectionPakinView(params);
}
@@ -178,6 +185,15 @@
@ApiOperation("鑾峰彇缂撳瓨鍖哄簱浣嶄俊鎭�")
public R getCacheLocs() {
return mobileService.getCacheLocs();
+ }
+
+
+ @ManagerAuth
+ @GetMapping("/cache/sites/{type}")
+ @ApiOperation("鑾峰彇缂撳瓨鍖哄叆鍑哄簱绔欑偣淇℃伅")
+ public R getCacheSites(@PathVariable String type) {
+ return mobileService.getCacheSites(type);
+
}
@PostMapping("/cache/agv/call")
@@ -356,7 +372,6 @@
if (Objects.isNull(callAgvBackParam.getOrgSite())) {
return R.error("鍙傛暟涓嶈兘涓虹┖!!");
}
-
return mobileService.agvCallback(callAgvBackParam, getUserId());
}
@@ -367,8 +382,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