自动化立体仓库 - WMS系统
dubin
2025-10-29 ee0bfd75802d67608441e7eeac02bb039d9f9c88
初始化
1个文件已修改
14 ■■■■■ 已修改文件
src/main/java/com/zy/common/web/WcsController.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/web/WcsController.java
@@ -107,6 +107,20 @@
        sourceStaNo.setLocType1(param.getLocType1());
        LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo);
        if (param.getBarcode().startsWith("4")){
            locTypeDto.setLocType2((short) 4);
        }else if (param.getBarcode().startsWith("5")){
            locTypeDto.setLocType2((short) 5);
        }else if (param.getBarcode().startsWith("6")){
            locTypeDto.setLocType2((short) 6);
        }else if (param.getBarcode().startsWith("7")){
            locTypeDto.setLocType2((short) 7);
        }else if (param.getBarcode().startsWith("8")){
            locTypeDto.setLocType2((short) 8);
        }else {
            throw new CoolException("条码规则不存在");
        }
        StartupDto dto = null;
        switch (param.getIoType()) {
            case 1://满托盘入库