| | |
| | | } |
| | | |
| | | /** |
| | | * 检测当前库位内侧其他库位是否为D、F、X |
| | | * 检测当前库位内侧其他库位是否为D、F、X、O |
| | | * 返回true表示内侧库位不是DFX,返回false表示内侧库位是DFX |
| | | */ |
| | | public static boolean checkInsideLocIsDFX2(String locNo) { |
| | | public static boolean checkInsideLocIsDFXO(String locNo) { |
| | | LocMastService locMastService = SpringUtils.getBean(LocMastService.class); |
| | | List<String> insideLoc = Utils.getGroupInsideLoc(locNo); |
| | | if (insideLoc.size() > 0) { |
| | |
| | | for (LocMast mast : insideLocMast) { |
| | | if (!mast.getLocSts().equals("D") |
| | | && !mast.getLocSts().equals("F") |
| | | && !mast.getLocSts().equals("O") |
| | | && !mast.getLocSts().equals("X")) { |
| | | //D、F、X(不能选定这个外侧库位) |
| | | //D、F、X、O(不能选定这个外侧库位) |
| | | return true; |
| | | } |
| | | } |