From 987149c095fe4527e26c10f8905689fdf1a38456 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 22 五月 2024 08:03:10 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/controller/AgvMobileController.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/AgvMobileController.java b/src/main/java/com/zy/asrs/controller/AgvMobileController.java
index c8e678a..4d0bb39 100644
--- a/src/main/java/com/zy/asrs/controller/AgvMobileController.java
+++ b/src/main/java/com/zy/asrs/controller/AgvMobileController.java
@@ -118,6 +118,7 @@
     @PostMapping("/start/pakin/auth")
     @Synchronized
     @Transactional
+    @ManagerAuth(memo = "鍚姩鍏ュ簱")
     public R startPakin(@RequestBody AgvMobileStartPakin params){
         // 缁勬墭
         params.getCombParams().forEach(combParam -> {
@@ -134,6 +135,7 @@
      */
     @PostMapping("/pakin/empty/auth")
     @Synchronized
+    @ManagerAuth(memo = "绌烘澘鍏ュ簱")
     public R pakinEmpty(@RequestBody AgvMobileStartParam params){
 
         for (AgvMobileStartParam.Pda pda : params.getPad()) {
@@ -149,6 +151,7 @@
      */
     @PostMapping("/pakout/empty/auth")
     @Synchronized
+    @ManagerAuth(memo = "绌烘澘鍑哄簱")
     public R pakoutEmpty(@RequestBody AgvMobileStartParam params){
 
         for (AgvMobileStartParam.Pda pda : params.getPad()) {
@@ -215,6 +218,7 @@
     鐩樼偣鎺ュ彛
      */
     @PostMapping("/check/detl/v1")
+    @ManagerAuth(memo = "搴撳瓨鐩樼偣")
     public R checkLocDetl(@RequestBody HashMap<String,String> param){
 
         String locNo = param.get("locNo");
@@ -242,6 +246,7 @@
     鐩樼偣搴撲綅閿欎贡缁存姢鎺ュ彛
      */
     @PostMapping("/update/detl/v1")
+    @ManagerAuth(memo = "绾犳搴撲綅")
     public R updateLocDetlLocNo(@RequestBody HashMap<String,String> param){
         String locNo = param.get("locNo");
         String containerCode = param.get("containerCode");
@@ -474,6 +479,14 @@
         return R.ok();
     }
 
+    @PostMapping("/hand/control/doBack")
+    @Transactional
+    @ManagerAuth(memo = "绔欑偣鍥為��")
+    public R doBack(@RequestBody AgvMobileStartPakin param){
+        agvMobileService.doBack(param, getUserId());
+        return R.ok();
+    }
+
     public static void main(String[] args) {
         List<AgvLocDetl> agvLocDetls1 = new ArrayList<>();
         List<AgvLocDetl> agvLocDetls2 = new ArrayList<>();

--
Gitblit v1.9.1