From 875a183c5d5a12a4ba5c8d37559295ac1ce6cce3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 09 七月 2025 21:13:11 +0800
Subject: [PATCH] 播种流程优化

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 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 db9e923..4c2558f 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
@@ -27,6 +27,7 @@
 import com.zy.asrs.wms.system.service.UserService;
 import io.jsonwebtoken.lang.Collections;
 import io.netty.util.internal.StringUtil;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.web.bind.annotation.*;
@@ -65,6 +66,7 @@
      * @param barcode
      * @return
      */
+    @ApiOperation("鍏ュ簱鍗曟嵁--鎵爜鑾峰彇璁㈠崟鏄庣粏鍒楄〃")
     @PostMapping("/mat/auth")
     public R getProductForBarcode(@RequestBody Map<String, String> barcode) {
         if (Objects.isNull(barcode)) {
@@ -295,6 +297,31 @@
         return mobileService.selectShippingDetl(params);
     }
 
+
+    /**
+     * @author Ryan
+     * @date 2025/6/28
+     * @description: 鑾峰彇鎺ㄨ崘搴撲綅
+     * @version 1.0
+     */
+    @GetMapping("/recommend/locs")
+    public R getRecommend() {
+        return  mobileService.getRecommendLocs();
+    }
+
+
+    /**
+     * @author Ryan
+     * @date 2025/6/28
+     * @description: 鏌ヨ鐗╂枡淇℃伅
+     * @version 1.0
+     */
+    @GetMapping("/mats/search/{matnr}")
+    public R getMats(@PathVariable String matnr) {
+        return mobileService.getMatsByCode(matnr);
+    }
+
+
     /**
      * 纭鍙戣揣鍗曟槑缁�
      * @return
@@ -304,6 +331,7 @@
         if (params.isEmpty()) {
             throw new CoolException("鍙戣揣鍗曟槑缁嗕笉鑳戒负绌猴紒锛�");
         }
+
         return mobileService.confirmShippingDetl(params);
     }
 }

--
Gitblit v1.9.1