From 1621b79516ac72b9933dd2ea950fe4e267d8a3a7 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期二, 05 十二月 2023 20:03:41 +0800 Subject: [PATCH] bug修复 1.四项库入库时找到在库库位 2.四项库订单出库时没有匹配容器码导致报错 3.四项库转历史档失败 --- src/main/java/com/zy/asrs/controller/AgvMobileController.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/AgvMobileController.java b/src/main/java/com/zy/asrs/controller/AgvMobileController.java index d7b10ae..9161d1d 100644 --- a/src/main/java/com/zy/asrs/controller/AgvMobileController.java +++ b/src/main/java/com/zy/asrs/controller/AgvMobileController.java @@ -6,7 +6,9 @@ import com.zy.asrs.service.AgvBasDevpService; import com.zy.asrs.service.AgvMobileService; import com.zy.asrs.service.AgvWorkService; +import com.zy.asrs.service.OrderDetlService; import com.zy.common.web.BaseController; +import lombok.Synchronized; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -31,6 +33,8 @@ private AgvBasDevpService agvBasDevpService; @Autowired private AgvWorkService workService; + @Autowired + private OrderDetlService orderDetlService; /* @@ -66,9 +70,18 @@ } /* + 鑾峰彇杈撻�佺嚎绔欑偣 + */ + @PostMapping("/getBasDevp/noCacheShelves/auth") + public R getBasDevpByNoCacheShelves(){ + return R.ok(agvBasDevpService.getBasDevpByNoCacheShelves()); + } + + /* 鍚姩鍏ュ簱锛岀敓鎴愬伐浣滄。 */ @PostMapping("/pakin/auth") + @Synchronized public R pakin(@RequestBody Map<String,Object> map){ List<String> devNos = (List<String>) map.get("devNo"); @@ -76,7 +89,7 @@ return agvBasDevpService.selectById(devNo); }).collect(Collectors.toList()); - workService.createWaitPainWrkMastStart(agvBasDevpList, getUserId()); + workService.createWaitPainWrkMastStart(agvBasDevpList, getUserId(),false); return R.ok("鐢熸垚宸ヤ綔妗f垚鍔�"); } -- Gitblit v1.9.1