| | |
| | | if(deepLoc != null && !deepLoc.getLocSts().equals("F") |
| | | && !deepLoc.getLocSts().equals("D") |
| | | && !deepLoc.getLocSts().equals("O") |
| | | && (waitWrkMast!=null && waitWrkMast.getWrkSts()<17)){ |
| | | && (waitWrkMast!=null && waitWrkMast.getWrkSts()<18)){ |
| | | News.error("移库再回库时,深库位组深库位状态为作业中 ===>> deepLoc={},loc_sts={}", deepLoc.getLocNo(), deepLoc.getLocSts()); |
| | | flag = true; |
| | | break; |
| | |
| | | if(Utils.getGroupRow(one.getLocNo()) != Utils.getGroupRow(shallowLoc.getLocNo()) |
| | | || Utils.getBay(one.getLocNo()) != Utils.getBay(shallowLoc.getLocNo()) |
| | | || Utils.getLev(one.getLocNo()) != Utils.getLev(shallowLoc.getLocNo())){ |
| | | loc = one; |
| | | break; |
| | | |
| | | boolean success = true; |
| | | List<String> insideLoc = Utils.getGroupInsideLoc(one.getLocNo()); |
| | | for (String inside : insideLoc) { |
| | | if (!locMastService.selectById(inside).getLocSts().equals("O")) { |
| | | success = false; break; |
| | | } |
| | | } |
| | | if (success) { |
| | | loc = one; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | |