自动化立体仓库 - WMS系统
李天宇
2024-11-07 c8ffad2a1b5d278824aa2650a4ff461ec738af9f
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);
            }