自动化立体仓库 - WMS系统
#
luxiaotao1123
2023-02-01 57448954d59595b87cbb7efad52f59e61fd14d61
src/main/java/com/zy/common/service/CommonService.java
@@ -314,7 +314,7 @@
        if (locMast == null) {
            // 库区锁定
            LocRule locRule = locRuleService.find(Cools.isEmpty(matNos) ? null : matNos.get(0), null);
            LocRule locRule = locRuleService.find(Cools.isEmpty(matNos) ? null : matNos.get(0), null, start, end);
            if (!Cools.isEmpty(locRule)) {
                List<Integer> rows = Utils.getGroupLoc(locRule.getRowBeg());
                List<LocMast> locMasts = locMastService.queryFreeLocMast1(rows, rows.size(), locTypeDto.getLocType1(), inoutEveryday
@@ -374,10 +374,8 @@
                Integer innermostRow = Utils.getInnermostRow(locMasts1.get(0).getLocNo());
                for (LocMast locMast2:locMasts1){
                    if (locMast2.getLocSts().equals("O")){
                        if (locMast2.getRow1().equals(innermostRow)) {
                            locMast = locMast2;
                            break;
                        }
                        locMast = locMast2;
                        break;
                    }else if (!locMast2.getLocSts().equals("F")){
                        break;
                    }