From 6e042d7f0e1982cf54deedba6fe4ddfe8353af13 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期四, 27 六月 2024 09:37:11 +0800
Subject: [PATCH] 自动清空agv空库位库存

---
 src/main/java/com/zy/common/web/WcsController.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index eb2e779..3b536ed 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -576,9 +576,8 @@
     @PostMapping("/start")
     @ResponseBody
     @Transactional
-    @Synchronized
-    public R start(@RequestBody ReplenishmentParam param){
-        log.info("start param: " + param.toString());
+    public synchronized R start(@RequestBody ReplenishmentParam param){
+        log.info("agv start param: " + param.toString());
         String containerCode = param.getContainerCode();
         if(Cools.isEmpty(containerCode)){
             throw new CoolException("鏂欑鐮佷负绌�");

--
Gitblit v1.9.1