From 285deae97a62db611ee2485d3940e24307594f2a Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 22 九月 2025 20:09:42 +0800 Subject: [PATCH] 数据结构修改 任务工作档修改 组托工作档修改 --- src/main/java/com/zy/asrs/controller/MobileController.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java index 6a9a1e9..50b43af 100644 --- a/src/main/java/com/zy/asrs/controller/MobileController.java +++ b/src/main/java/com/zy/asrs/controller/MobileController.java @@ -16,6 +16,7 @@ import com.zy.asrs.utils.OrderInAndOutUtil; import com.zy.common.model.WrkDto; import com.zy.common.web.BaseController; +import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; @@ -138,6 +139,25 @@ } + @GetMapping("/cache/locs") + @ManagerAuth + @ApiOperation("鑾峰彇缂撳瓨鍖哄簱浣嶄俊鎭�") + public R getCacheLocs() { + return mobileService.getCacheLocs(); + } + + + @PostMapping("/cache/agv/call") + @ApiOperation("鍛煎彨AGV鎼繍") + @ManagerAuth + public R callAgvMove(@RequestBody AgvCallParams params) { + if (Objects.isNull(params)) { + return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒"); + } + return mobileService.callAgvMove(params, getUserId()); + } + + // 缁勬墭 ---------------------------------------------------------------------------------------------------- -- Gitblit v1.9.1