自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-12-08 ed628d49e9d0cb948e314db8d9bed20088991dc5
src/main/java/com/zy/common/service/CommonService.java
@@ -114,11 +114,11 @@
        int end = 30;
        int dualCrnNo;
        switch (sourceStaNo) {
            case 107:
            case 203:
                whsType = 1;
                dualCrnNo = 2;
                break;
            case 118:
            case 102:
                whsType = 2;
                start = 31;
                end = 32;
@@ -277,6 +277,14 @@
            if (whsType == 1) {
                List<Integer> rows = Utils.getGroupLoc(curRow);
//                Iterator<Integer> iterator = rows.iterator();
//                while (iterator.hasNext()) {
//                    Integer next = iterator.next();
//                    if (next.equals(17) || next.equals(18)) {
//                        iterator.remove();
//                    }
//                }
                List<LocMast> locMasts = locMastService.queryFreeLocMast(rows, rows.size(), locTypeDto.getLocType1());
                if (!Cools.isEmpty(locMasts)) {
                    Integer innermostRow = Utils.getOutLayerRow(locMasts.get(0).getLocNo(), false);