From f907e31b2d4423daba7b4a09e64a38455ec40914 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 28 八月 2025 19:21:44 +0800
Subject: [PATCH] 异常信息上报接口优化

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/controller/WcsController.java |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/WcsController.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/WcsController.java
index dc0352f..f1309c5 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/WcsController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/WcsController.java
@@ -24,8 +24,6 @@
     @Autowired
     private WcsService wcsService;
 
-//    @Autowired
-//    private WmsRcsService wmsRcsService;
 
     @ApiOperation(value = "wcs鐢熸垚鍏ュ簱浠诲姟鎺ュ彛")
     @PostMapping("/create/in/task")
@@ -44,8 +42,6 @@
         }
         InTaskMsgDto msgDto = wcsService.createInTask(param);
         return R.ok(msgDto);
-
-
     }
 
     @ApiOperation(value = "agv鍙栬揣瀹屾垚鎺ュ彛")
@@ -71,8 +67,7 @@
 
     /**
      * 鎺ユ敹WCS璋冨害锛屽洖浼犳墽琛岀姸鎬�
-     *  //TODO 1. 鎷f枡鍑哄簱锛屽啀鍏ュ簱鎵ц锛屼慨鏀圭姸鎬佷负199.浠诲姟瀹屾垚  骞惰褰曞叆搴撶珯鐐癸紙婧愮珯鐐癸級锛屾坊鍔犱换鍔″彿鍙傛暟
-     *
+     *  TODO 1. 鎷f枡鍑哄簱锛屽啀鍏ュ簱鎵ц锛屼慨鏀圭姸鎬佷负199.浠诲姟瀹屾垚  骞惰褰曞叆搴撶珯鐐癸紙婧愮珯鐐癸級锛屾坊鍔犱换鍔″彿鍙傛暟
      * @param param
      * @return
      */
@@ -82,10 +77,8 @@
         if (Cools.isEmpty(param)) {
             return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
         }
-
         return R.ok();
     }
-
 
     /**
      * @author Ryan
@@ -97,8 +90,21 @@
     @OperationLog("RCS搴撲綅淇℃伅鍚屾")
     @PostMapping("/sync/locs")
     public R syncLocsToWms() {
-
-        return R.ok();
-//        return wmsRcsService.syncLocs();
+        return wcsService.syncLocsToWms();
     }
+
+    /**
+     * @author Ryan
+     * @date 2025/8/28
+     * @description: RCS涓婃姤寮傚父淇℃伅
+     * @version 1.0
+     */
+    @ApiOperation("RCS涓婃姤寮傚父鎵ц淇℃伅")
+    @OperationLog("RCS涓婃姤寮傚父鎵ц淇℃伅")
+    @PostMapping("/receive/ex/msg")
+    public R receiveExMsg() {
+        return wcsService.receiveExMsg();
+    }
+
+
 }

--
Gitblit v1.9.1