#
tqs
2023-02-09 fbea0d1038ee431509c43ace277e51549caae521
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -1076,6 +1076,15 @@
                        continue;
                    }
                }
                if (wrkMast.getWrkSts() == 11 && wrkMast.getIoType() == 101){
                    Integer sour = wrkMast.getSourceStaNo();
                    List<WrkMast> wrkMasts = wrkMastMapper.selectWrkStsAndIoType1(sour);
                    if (wrkMasts.size() > 0){
                        News.error("MainServiceImpl  1028行"+"204存在全板出库中货物,2号堆垛机暂时禁止全板出库!!!");
                        continue;
                    }
                }
            }
            // 判断是否已存在小车绑定任务
@@ -3848,10 +3857,19 @@
                    boolean success = true;
                    List<String> insideLoc = Utils.getGroupInsideLoc(one.getLocNo());
                    for (String inside : insideLoc) {
                        if (!locMastService.selectById(inside).getLocSts().equals("O")) {
                        if (locMastService.selectById(inside).getLocSts().equals("P")
                                || locMastService.selectById(inside).getLocSts().equals("R")
                                || locMastService.selectById(inside).getLocSts().equals("S")
                                || locMastService.selectById(inside).getLocSts().equals("Q")) {
                            success = false; break;
                        }
                    }
                    Integer steNo = this.hasCar(one.getLocNo());
                    if (steNo != null) {
                        continue;
                    }
                    if (success) {
                        loc = one;
                        break;