自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-06-01 035c843a929b840306cd00bffb7133dd6cab15ec
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;
                    }
                }