| | |
| | | throw new CoolException("编码规则错误: 编码规则「SYS_WAIT_PAKIN_CODE」规则是不存在"); |
| | | } |
| | | waitPakin1.setCode(ruleCode) |
| | | .setIoStatus(PakinIOStatus.PAKIN_IO_STATUS_HOLD.val) |
| | | .setIoStatus(PakinIOStatus.PAKIN_IO_STATUS_DONE.val) |
| | | .setAnfme(param.getTaskItemList().stream() |
| | | .map(TaskItem::getInputQty) |
| | | .filter(Objects::nonNull) |
| | |
| | | throw new CoolException("站点状态不为空闲"); |
| | | } |
| | | |
| | | List<Long> areaList = basStation.getCrossZoneArea(); |
| | | List<Long> areaList = basStation.getCrossZoneArea().stream() |
| | | .map(Integer::longValue) |
| | | .collect(Collectors.toList()); |
| | | if (Cools.isEmpty(areaList)) { |
| | | throw new CoolException("当前站点库区未配置"); |
| | | } |