| | |
| | | |
| | | WrkMast checkPick = wrkMastService.selectOne(new EntityWrapper<WrkMast>() |
| | | .eq("barcode", barcode) |
| | | .in("io_type", 107,103,57,53)); |
| | | .in("io_type", 107,103,104,57,53)); |
| | | if (!Cools.isEmpty(checkPick)) { |
| | | continue; |
| | | } else { |
| | |
| | | |
| | | //任务号如果在工作档中存在,就不用去判断条码 |
| | | if(Cools.isEmpty(wrkMast1)) { |
| | | // WrkMast mast = wrkMastMapper.selectPickStep(barcode); |
| | | // if (Cools.isEmpty(mast)) { |
| | | // break; |
| | | // } |
| | | |
| | | if (!Cools.isEmpty(barcode)) { |
| | | |
| | | |
| | | // log.info("{}号条码扫描器检测条码信息:{}", pickSta.getBarcode(), barcode); |
| | | if ("NG".endsWith(barcode) || "NoRead".equals(barcode) && staProtocol.isPakMk()) { |
| | | if (!staProtocol.isLoading()) { |
| | |
| | | // continue; |
| | | } |
| | | // 判断堆垛机出库站状态 |
| | | |
| | | if (staProtocol.isAutoing() && !staProtocol.isLoading() && staDetl.getCanouting() != null && staDetl.getCanouting().equals("Y") |
| | | && staProtocol.getWorkNo() == 0 && staProtocol.isOutEnable()) { |
| | | // 命令下发区 -------------------------------------------------------------------------- |