自动化立体仓库 - WMS系统
pang.jiabao
2026-01-26 eed51ce47f20afb0661acc42baa680fcb6351a39
src/main/java/com/zy/common/web/WcsController.java
@@ -63,6 +63,9 @@
        if (Cools.isEmpty(param.getSourceStaNo())) {
            return R.error("源站编号不能为空");
        }
        if (Cools.isEmpty(param.getBarcode())) {
            return R.error("条码不能为空");
        }
        List<WaitPakin> waitPakins = null;
        if (param.getIoType() == 1) {
            if (Cools.isEmpty(param.getBarcode())) {
@@ -82,13 +85,13 @@
                return R.error(CodeRes.EXIST_500);
            }
        }
        if (Cools.isEmpty(param.getLocType1(),param.getLocType2())){
        if (Cools.isEmpty(param.getLocType2())){ //  param.getLocType1(),
            return R.error("高低/长短检测信号不能为空");
        }
        // 源站点状态检测
        BasDevp sourceStaNo = basDevpService.checkSiteStatus(param.getSourceStaNo(), true);
        sourceStaNo.setLocType1(param.getLocType1());
        sourceStaNo.setLocType1((short) 1); // todo 先默认低库位
        sourceStaNo.setLocType2(param.getLocType2());
        LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo);