From f55ed1d2a1bdf4ad80930e879631d6d95d4b6c3c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 28 八月 2025 18:57:38 +0800 Subject: [PATCH] RCS 库位同步接口调用 RCS任务下发接口功能调用 RCS 取消任务接口功能开发 RCS异常功回调功能开发 --- rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsRcsController.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsRcsController.java b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsRcsController.java index db251dd..0b846cf 100644 --- a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsRcsController.java +++ b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsRcsController.java @@ -3,6 +3,7 @@ import com.vincent.rsf.framework.common.R; import com.vincent.rsf.framework.exception.CoolException; import com.vincent.rsf.openApi.entity.params.RcsPubTaskParams; +import com.vincent.rsf.openApi.entity.params.SyncRcsLocsParam; import com.vincent.rsf.openApi.service.WmsRcsService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -71,9 +72,11 @@ */ @ApiOperation("RCS搴撲綅淇℃伅鍚屾") @PostMapping("/sync/locs") - public R syncLocsToWms() { - wmsRcsService.syncLocs(); - return R.ok(); + public R syncLocsToWms(@RequestBody SyncRcsLocsParam params) { + if (Objects.isNull(params)) { + return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒"); + } + return R.ok().add(wmsRcsService.syncLocs(params)); } -- Gitblit v1.9.1