From 298b0fc5c2e2e7725cdf0a2f0a0650cd5d66f873 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期四, 13 七月 2023 11:24:06 +0800
Subject: [PATCH] #小数加减法bug修复

---
 src/main/java/com/zy/asrs/controller/MobileController.java |   15 +++++++++++++--
 1 files changed, 13 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 232ba46..0d7da79 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -342,20 +342,31 @@
 
     //骞冲簱pda涓婃灦
     @RequestMapping("/manDetl/in")
+    @ManagerAuth(memo = "璁㈠崟涓婃灦")
     public R manDetlAdd(@RequestBody JSONObject json){
         if (json == null){
             return R.error("浼犲叆鏁版嵁涓虹┖");
         }
-        return mobileService.manDetlIn(json);
+        return mobileService.manDetlIn(json, getUser());
     }
 
     //骞冲簱pda涓嬫灦
     @RequestMapping("/manDetl/out")
+    @ManagerAuth(memo = "璁㈠崟涓嬫灦")
     public R manDetlDelete(@RequestBody JSONObject json){
         if (json == null){
             return R.error("浼犲叆鏁版嵁涓虹┖");
         }
-        return mobileService.manDetlOut(json);
+        return mobileService.manDetlOut(json , getUser());
+    }
+
+    @RequestMapping("/manDetl/in/barcode")
+    @ManagerAuth(memo = "璁㈠崟涓婃灦(鎵樼洏鐮�)")
+    public R manDetlAddbarcode(@RequestBody JSONObject json){
+        if (json == null){
+            return R.error("浼犲叆鏁版嵁涓虹┖");
+        }
+        return mobileService.manDetlInBarcode(json,getUser());
     }
 
 }

--
Gitblit v1.9.1