| | |
| | | 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())){ |
| | | |
| | | 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; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (null == loc) { |
| | | News.error("深库位出库 --- 浅库位阻塞异常! 待移转浅库位:" + shallowLoc.getLocNo()); |