From d3f22f29b52d7b49e78ce905b6700c92a6096933 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 07 一月 2025 19:30:27 +0800
Subject: [PATCH] #平仓出库功能

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

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
index 41533b7..cc07a96 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
@@ -81,7 +81,7 @@
      * 2. 搴撲綅缃负鍦ㄥ簱鐘舵��
      * @return
      */
-    @PostMapping("matnr/in/barcode")
+    @PostMapping("/matnr/in/barcode")
     public R pakinToStock(@RequestBody PakinOnShelvesParams shelvesParams) {
         if (StringUtil.isNullOrEmpty(shelvesParams.getBarcode())) {
             return R.error("鎷栫洏鐮佷笉鑳戒负绌猴紒锛�");
@@ -102,9 +102,9 @@
      * 鑾峰彇鎷栫爜鐩樼粦瀹氬晢鍝�
      * @return
      */
-    @GetMapping("barcode/matnr/{code}")
+    @GetMapping("/barcode/matnr/{code}")
     public R getAllGoods(@PathVariable String code) {
-        if (!StringUtil.isNullOrEmpty(code)) {
+        if (StringUtil.isNullOrEmpty(code)) {
             return R.error("鎵樼洏鐮佷笉鑳戒负绌猴紒锛�");
         }
         List<WaitPakin> waitPakins = waitPakinService.list(new LambdaQueryWrapper<WaitPakin>().eq(WaitPakin::getBarcode, code).eq(WaitPakin::getIoStatus, 0));

--
Gitblit v1.9.1