| | |
| | | Date now = new Date(); |
| | | AgvWrkMast agvWrkMast = agvWrkMastService.selectOne(new EntityWrapper<AgvWrkMast>().eq("loc_no", param.getDevNo())); |
| | | Integer oldWrkNo = agvWrkMast.getWrkNo(); |
| | | if (agvWrkMast.getBarcode() != param.getBarcode()) { |
| | | throw new CoolException("回退任务的货架码与当前货架码不一致1"); |
| | | } |
| | | // 新建回退工作档 |
| | | AgvWrkMast wrkMast = createWrkMast(58, 201L, agvWrkMast.getLocNo(), agvWrkMast.getSourceLocNo(), agvWrkMast.getBarcode(), now, userId, agvWrkMast.getWhsType(), 0); |
| | | // 更新接驳位,更新库位状态 |
| | |
| | | .or().eq("io_type", 1) |
| | | .or().eq("io_type", 10) |
| | | .or().eq("io_type", 57) |
| | | .or().eq("io_type", 58) |
| | | .or().eq("io_type", 11) |
| | | .or().eq("io_type", 12) |
| | | .or().eq("io_type", 109) |