| | |
| | | storageEscalationParam.setBarcode(BoxNo); |
| | | storageEscalationParam.setMatIdList(staProtocol.getMatIdList()); |
| | | storageEscalationParam.setFullPlt(staProtocol.isFullPlt() ? 1 : 0); |
| | | storageEscalationParam.setMpHigh(staProtocol.getMpHigh()); |
| | | log.info("组托入库={}", storageEscalationParam); |
| | | TaskWrk taskWrk = toWmsService.getLocNoFromWms(storageEscalationParam); |
| | | if (taskWrk == null) { |
| | |
| | | boolean offer = false; |
| | | try { |
| | | offer = MessageQueue.offer(SlaveType.Devp, 1, new Task(2, staProtocol)); |
| | | staProtocol.setMp(taskWrk.getMp()); |
| | | staProtocol.setLx(taskWrk.getLx()); |
| | | staProtocol.setLev(taskWrk.getLev()); |
| | | MessageQueue.offer(SlaveType.Devp, 1, new Task(3, staProtocol)); |
| | | } catch (Exception e) { |
| | | log.error("下发输送线任务失败:异常:" + e); |
| | | log.error("下发输送线任务失败:异常:offer:" + offer); |