| | |
| | | |
| | | 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) { |
| | |
| | | private static Short normalizeLocType1(Integer locType1) { |
| | | if (locType1 == null || (locType1 != 1 && locType1 != 2)) { |
| | | return null; |
| | | } else { |
| | | locType1 = 2; |
| | | } |
| | | return locType1.shortValue(); |
| | | } |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | private static Integer parseStorageArea(String area) { |
| | | if (Cools.isEmpty(area)) { |
| | | return null; |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public static String zerofill(String msg, Integer count) { |
| | | if (msg.length() == count) { |
| | | return msg; |
| | |
| | | |
| | | return necessaryParameters; |
| | | } |
| | | |
| | | //四向库(牛眼\光泰) |
| | | public static int[] LocNecessaryParametersDoubleExtension6(RowLastno rowLastno, Integer curRow, Integer crnNumber) { |
| | | int[] necessaryParameters = new int[]{0, 0, 0, 0}; |
| | |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | //erp庫位轉換 |
| | | public static String ERPLocToWMSLoc(String locNo) { |
| | | String WmsLoc = locNo.substring(1); |