From 3ebfab49d440f6069fb29ec1a26f76cfa8a15cae Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 13 二月 2023 11:08:08 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/controller/MobileController.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java
index 08ee0f9..f5bdf33 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -24,6 +24,7 @@
 import com.zy.common.model.WrkDto;
 import com.zy.common.utils.HttpHandler;
 import com.zy.common.web.BaseController;
+import com.zy.common.web.param.SearchLocParam;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.transaction.interceptor.TransactionAspectSupport;
@@ -340,8 +341,10 @@
     }
     @PostMapping("/test/suspend/auth")
 //    @ManagerAuth(memo = "鏆傚仠娴嬭瘯")
-    public synchronized R suspendTestPACK() {
-        mobileService.suspendTestPACK();  //璇锋眰鏆傚仠娴嬭瘯
+    @ResponseBody
+    public synchronized R suspendTestPACK(@RequestBody SearchLocParam param) {
+
+        mobileService.suspendTestPACK(param.getBarcode());  //璇锋眰鏆傚仠娴嬭瘯
         return R.ok();
     }
     /*...........................璧e窞鏂板..............浠ヤ笂.............璧e窞鏂板...........................*/

--
Gitblit v1.9.1