From 15047d62d27fbe4f99b7f93292c2cf9709b7cc97 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 03 四月 2024 08:53:39 +0800 Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/map/controller/MapController.java | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/map/controller/MapController.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/map/controller/MapController.java index 8f6e0de..47d47c4 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/map/controller/MapController.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/map/controller/MapController.java @@ -6,11 +6,7 @@ import com.zy.asrs.wcs.core.map.service.MapService; import com.zy.asrs.wcs.system.controller.BaseController; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.transaction.annotation.Transactional; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; /** * Created by vincent on 3/15/2024 @@ -37,10 +33,16 @@ // @PreAuthorize("hasAuthority('core:map:save')") @PostMapping("/save") - @Transactional public R mapSave(@RequestBody MapDataParam param) { mapService.saveMapData(param, getLoginUserId()); return R.ok(); } + + // 璐ф灦 - 搴撲綅 -------------------------------------------------------- + @GetMapping("/shelf/info") + public R shelfInfo(@RequestParam String locNo) { + return R.ok().add(mapService.getShelfLocNoList(locNo)); + } + } -- Gitblit v1.9.1