| | |
| | | taskOverToWms.setEquipmentCode(String.valueOf(taskWrk.getCrnNo())); //设备编码 |
| | | taskOverToWms.setTargetLocationCode(taskWrk.getOriginTargetPoint()); //目标库位 |
| | | Date now = new Date(); |
| | | //更新库位状态 |
| | | LocMast locMast = locMastService.selectByLocNo(taskWrk.getStartPoint()); |
| | | locMast.setLocSts("K");//O.空库位 |
| | | locMast.setBarcode("");//托盘码 |
| | | locMast.setModiTime(now); |
| | | locMast.setModiUser(9999L); |
| | | locMastService.updateById(locMast); |
| | | |
| | | //更新库位状态 |
| | | LocMast locMast2 = locMastService.selectByLocNo(taskWrk.getTargetPoint()); |
| | | locMast2.setLocSts("Z");//F.在库 |
| | | locMast2.setBarcode(taskWrk.getBarcode());//托盘码 |
| | | locMast2.setModiTime(now); |
| | | locMast2.setModiUser(9999L); |
| | | locMastService.updateById(locMast2); |
| | | // //更新库位状态 |
| | | // LocMast locMast = locMastService.selectByLocNo(taskWrk.getStartPoint()); |
| | | // locMast.setLocSts("K");//O.空库位 |
| | | // locMast.setBarcode("");//托盘码 |
| | | // locMast.setModiTime(now); |
| | | // locMast.setModiUser(9999L); |
| | | // locMastService.updateById(locMast); |
| | | // |
| | | // //更新库位状态 |
| | | // LocMast locMast2 = locMastService.selectByLocNo(taskWrk.getTargetPoint()); |
| | | // locMast2.setLocSts("Z");//F.在库 |
| | | // locMast2.setBarcode(taskWrk.getBarcode());//托盘码 |
| | | // locMast2.setModiTime(now); |
| | | // locMast2.setModiUser(9999L); |
| | | // locMastService.updateById(locMast2); |
| | | } |
| | | |
| | | taskOverToWms.setTaskStatus("done"); //任务状态 |