自动化立体仓库 - WMS系统
Administrator
5 天以前 08b4403ec8d6b69528d161cfcad80b5d64dea76c
src/main/java/com/zy/common/web/WcsController.java
@@ -76,9 +76,7 @@
                return R.error(param.getBarcode() + "此条码未组托,请先组托!");
            }
            int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet",param.getBarcode()));
            int countWrk = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("barcode",param.getBarcode())
                    .le("io_type",100));
            int countWrk = wrkDetlService.selectCount(new EntityWrapper<WrkDetl>().eq("zpallet",param.getBarcode()));
            if (countLoc > 0 || countWrk > 0) {
                return R.error(CodeRes.EXIST_500);
            }
@@ -86,6 +84,10 @@
        if (Cools.isEmpty(param.getLocType1())){
            return R.error("高低检测信号不能为空");
        }
        if(param.getSourceStaNo() == 201){
            param.setLocType1((short) 2);
            log.info("2楼站点入库高库位:{}", param);
        }
        // 源站点状态检测
        BasDevp sourceStaNo = basDevpService.checkSiteStatus(param.getSourceStaNo(), true);