自动化立体仓库 - WMS系统
zhou zhou
2 天以前 e549bc25fce8679682e7698c9ad725dfaf37d82c
src/main/java/com/zy/asrs/service/impl/BasContainerServiceImpl.java
@@ -47,13 +47,16 @@
            String prefix = "", ruleCode = "";
            if (container.getType().equals(ContainerType.CONTAINER_TYPE_BOX.type)) {
                prefix = "LX2";
                basContainer.setMixMax(3);
                basContainer.setMixMax(3.0);
            } else if (container.getType().equals(ContainerType.CONTAINER_TYPE_CAGE.type)) {
                prefix = "LK3";
                basContainer.setMixMax(2);
                basContainer.setMixMax(2.0);
            } else if (container.getType().equals(ContainerType.CONTAINER_TYPE_SALVER.type)) {
                prefix = "TP4";
                basContainer.setMixMax(2);
                basContainer.setMixMax(2.0);
            } else if (container.getType().equals(ContainerType.CONTAINER_TYPE_CAR.type)) {
                prefix = "TC5";
                basContainer.setMixMax(1.0);
            }
            ruleCode = prefix + StringUtils.leftPad(i + "", length, "0");
            basContainer.setType(container.getType())