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 | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 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 92b0dc7..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 @@ -4,7 +4,6 @@ import com.vincent.rsf.framework.common.R; import com.vincent.rsf.server.api.entity.dto.InTaskMsgDto; import com.vincent.rsf.server.api.controller.erp.params.TaskInParam; - import com.vincent.rsf.server.common.annotation.OperationLog; import com.vincent.rsf.server.manager.enums.TaskType; import com.vincent.rsf.server.api.service.WcsService; @@ -25,8 +24,6 @@ @Autowired private WcsService wcsService; -// @Autowired -// private WmsRcsService wmsRcsService; @ApiOperation(value = "wcs鐢熸垚鍏ュ簱浠诲姟鎺ュ彛") @PostMapping("/create/in/task") @@ -45,8 +42,6 @@ } InTaskMsgDto msgDto = wcsService.createInTask(param); return R.ok(msgDto); - - } @ApiOperation(value = "agv鍙栬揣瀹屾垚鎺ュ彛") @@ -72,8 +67,7 @@ /** * 鎺ユ敹WCS璋冨害锛屽洖浼犳墽琛岀姸鎬� - * //TODO 1. 鎷f枡鍑哄簱锛屽啀鍏ュ簱鎵ц锛屼慨鏀圭姸鎬佷负199.浠诲姟瀹屾垚 骞惰褰曞叆搴撶珯鐐癸紙婧愮珯鐐癸級锛屾坊鍔犱换鍔″彿鍙傛暟 - * + * TODO 1. 鎷f枡鍑哄簱锛屽啀鍏ュ簱鎵ц锛屼慨鏀圭姸鎬佷负199.浠诲姟瀹屾垚 骞惰褰曞叆搴撶珯鐐癸紙婧愮珯鐐癸級锛屾坊鍔犱换鍔″彿鍙傛暟 * @param param * @return */ @@ -83,10 +77,8 @@ if (Cools.isEmpty(param)) { return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒"); } - return R.ok(); } - /** * @author Ryan @@ -100,4 +92,19 @@ public R syncLocsToWms() { 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