自动化立体仓库 - WMS系统
cl
23 小时以前 f36b01fcf99f5ef0a1500d155c309ccbc7a20250
src/main/java/com/zy/asrs/utils/Utils.java
@@ -188,6 +188,7 @@
        return result;
    }
    private static void appendCrnLocTypeEntries(List<Map<String, Integer>> result, List<Integer> crnNos, Integer locType1, boolean emptyPallet, LocMastService locMastService) {
        Short normalizedLocType1 = normalizeLocType1(locType1);
        if (normalizedLocType1 == null) {
@@ -296,6 +297,8 @@
    private static Short normalizeLocType1(Integer locType1) {
        if (locType1 == null || (locType1 != 1 && locType1 != 2)) {
            return null;
        } else {
            locType1 = 2;
        }
        return locType1.shortValue();
    }
@@ -542,6 +545,7 @@
            return null;
        }
    }
    private static Integer parseStorageArea(String area) {
        if (Cools.isEmpty(area)) {
            return null;
@@ -567,6 +571,7 @@
        }
        return null;
    }
    public static String zerofill(String msg, Integer count) {
        if (msg.length() == count) {
            return msg;
@@ -1044,6 +1049,7 @@
        return necessaryParameters;
    }
    //四向库(牛眼\光泰)
    public static int[] LocNecessaryParametersDoubleExtension6(RowLastno rowLastno, Integer curRow, Integer crnNumber) {
        int[] necessaryParameters = new int[]{0, 0, 0, 0};
@@ -1185,6 +1191,7 @@
        }
        return result;
    }
    //erp庫位轉換
    public static String ERPLocToWMSLoc(String locNo) {
        String WmsLoc = locNo.substring(1);