| | |
| | | taskOverToWms.setSourceLocationCode(taskWrk.getOriginStartPoint()); //源库位 |
| | | //判断托盘是否走到出库站 |
| | | BasDevp basDevp = basDevpService.selectOne(new EntityWrapper<BasDevp>().eq("dev_no", taskWrk.getTargetPoint())); |
| | | if (!basDevp.getWrkNo().equals(taskWrk.getWrkNo())){ |
| | | if (!basDevp.getWrkNo().equals(taskWrk.getWrkNo()) && !basDevp.getOutEnable().equals("Y")){ |
| | | continue; |
| | | } |
| | | } else if (taskWrk.getIoType() ==3) { |
| | |
| | | locMast2.setBarcode(taskWrk.getBarcode());//托盘码 |
| | | locMast2.setModiTime(now); |
| | | locMast2.setModiUser(9999L); |
| | | locMastService.updateById(locMast); |
| | | locMastService.updateById(locMast2); |
| | | } |
| | | |
| | | taskOverToWms.setTaskStatus("done"); //任务状态 |