| | |
| | | wrkMastMapper.updateById(wrkMast); |
| | | |
| | | // 判断是否为穿梭库 |
| | | if (!locMastService.isShuttle(wrkMast.getLocNo())) { |
| | | if (!locMastService.isShuttle(wrkMast.getSourceLocNo())) { |
| | | |
| | | // 双深库位且浅库位有货,则需先对浅库位进行库位移转 |
| | | if (Utils.isDeepLoc(slaveProperties, wrkMast.getSourceLocNo())) { |
| | |
| | | SteProtocol steProtocol = steThread.getSteProtocol(); |
| | | if (steProtocol == null) { continue; } |
| | | if (!steProtocol.isIdle()) { continue; } |
| | | if (steProtocol.getRow() == 1) { continue; } |
| | | String locNo = wrkMast.getWrkSts() < 10 ? wrkMast.getLocNo() : wrkMast.getSourceLocNo(); |
| | | LocMast locMast = locMastService.selectById(locNo); |
| | | int lev = locMast.getLev1(); |