| | |
| | | } |
| | | return workNo; |
| | | } |
| | | @PostMapping("/auto/、" + |
| | | "TransplantingOut/v1") |
| | | @PostMapping("/auto/TransplantingOut/v1") |
| | | @ResponseBody |
| | | public R autoTransplantingOut(@RequestBody TransplantWork transplantWork){ |
| | | // 源站点状态检测 |
| | |
| | | StartupDto dto = commonService.getLocNo( 1, devpNo,findLocNoAttributeVo, locTypeDto); |
| | | // 更新目标库位状态 |
| | | Date now = new Date(); |
| | | if(dto == null){ |
| | | throw new CoolException("未找到库位"); |
| | | } |
| | | LocMast locMast = locMastService.selectById(dto.getLocNo()); |
| | | if (locMast.getLocSts().equals("O")){ |
| | | locMast.setLocSts("S"); // S.入库预约 |