自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-06-06 84c751d107530aa63291bd2821a538b96a81a8b1
src/main/java/com/zy/common/service/CommonService.java
@@ -167,6 +167,9 @@
            if (whsType != 4) {
                int divides = (int) Arith.divides(1, curRow - 1, 16);
                curRow = (int) Arith.remainder(curRow, 16);
                if (curRow == 0) {
                    curRow = 16;
                }
                for (int i = 0; i < shelves.group; i ++) {
                    curRow = shelves.start(curRow);
                    if (curRow < 0) {
@@ -176,6 +179,7 @@
                    crnNo1 = crnNo1 + divides*4;
                    if (basCrnpService.checkSiteError(crnNo1, true)) {
                        crnNo = crnNo1;
                        curRow = curRow + divides*16;
                        break;
                    }
                }
@@ -318,6 +322,10 @@
//            case 223:
            case 227:
                return 3;
            case 305:
            case 303:
            case 301:
                return 4;
            default:
                throw new CoolException("根据入库站获取库位排号分配失败,入库站:" + sourceStaNo);
        }