| | |
| | | } |
| | | } |
| | | |
| | | locMast.setLocSts("R"); |
| | | if(!locMastService.updateById(locMast)){ |
| | | throw new CoolException("新增agv入库任务失败"); |
| | | } |
| | | BasAgvLocNoService basAgvLocNoService = SpringUtils.getBean(BasAgvLocNoService.class); |
| | | BasAgvLocNo basAgvLocNoSou = basAgvLocNoService.selectOne(new EntityWrapper<BasAgvLocNo>().eq("loc_no", param.getLocNo())); |
| | | AgvBindCtnrAndBinParam agvBindCtnrAndBinParam = new AgvBindCtnrAndBinParam(); |
| | |
| | | if(resultBind.getCode() != 200){ |
| | | throw new CoolException("agv入库绑定失败"); |
| | | } |
| | | locMast.setBarcode(param.getBarcode()); |
| | | locMast.setLocSts("R"); |
| | | if(!locMastService.updateById(locMast)){ |
| | | throw new CoolException("新增agv入库任务失败"); |
| | | } |
| | | OrderInAndOutUtil.updateOrder(Boolean.TRUE,order.getId(), 2L, userId); |
| | | } |
| | | } |