From 7bb6b996d2993ea2f6cb20132316c0fc6885cb6d Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 16 一月 2026 13:29:44 +0800
Subject: [PATCH] #pda-订单出库
---
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/pda/MobileController.java | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/pda/MobileController.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/pda/MobileController.java
index cfb6f1f..2670539 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/pda/MobileController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/pda/MobileController.java
@@ -21,7 +21,6 @@
import io.swagger.annotations.ApiOperation;
import org.apache.tika.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.annotation.Async;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@@ -120,6 +119,13 @@
return mobileService.getReceiptAreas(getLoginUser());
}
+ @PreAuthorize("hasAuthority('manager:warehouseAreas:list')")
+ @ApiOperation("鑾峰彇鍙敤搴撳尯")
+ @GetMapping("/areas/user/all")
+ public R getAreasUserAll() {
+ return mobileService.getAreasUserAll(getLoginUser());
+ }
+
@PreAuthorize("hasAuthority('manager:asnOrder:list')")
@GetMapping("/orders/asn")
@@ -157,7 +163,7 @@
if (!Objects.isNull(params.get("type")) && params.get("type").equals("unbind")) {
return mobileService.getUnItemByContainer(params);
} else {
- return mobileService.getItemByContainer(params);
+ return mobileService.getItemByContainer(params,getLoginUser());
}
}
@@ -167,7 +173,7 @@
public R pikinOrder(@RequestBody WaitPakinParam waitPakin) {
Long userId = getLoginUserId();
if (Objects.isNull(waitPakin)) {
- return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+ return R.error( "鍙傛暟涓嶈兘涓虹┖锛侊紒");
}
if (org.apache.commons.lang3.StringUtils.isBlank(waitPakin.getBarcode())) {
return R.error("鎵樼洏鐮佷笉鑳戒负绌猴紒锛�");
@@ -302,7 +308,7 @@
if (Objects.isNull(map)) {
return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
}
- return mobileService.getItemByContainer(map);
+ return mobileService.getItemByContainer(map,getLoginUser());
}
@ApiOperation("鑾峰彇璁㈠崟涓嶈壇鐗╂枡")
--
Gitblit v1.9.1