自动化立体仓库 - WMS系统
#
zjj
2024-12-31 dd5a31d7eb01fa754a37f5cdcc7f7d2ba7397600
#
1个文件已修改
7 ■■■■ 已修改文件
src/main/java/com/zy/common/web/WcsController.java 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/web/WcsController.java
@@ -434,9 +434,12 @@
                    return R.parse(CodeRes.NO_COMB_700);
                }
                int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet",param.getBarcode()));
                if (countLoc > 0 ) {
                    return R.error(param.getBarcode()+"条码在库存中已存在");
                }
                int countWrk = wrkDetlService.selectCount(new EntityWrapper<WrkDetl>().eq("zpallet",param.getBarcode()));
                if (countLoc > 0 || countWrk > 0) {
                    return R.error(CodeRes.EXIST_500);
                if ( countWrk > 0) {
                    return R.error(param.getBarcode()+"条码在工作档中已存在");
                }
            }
            if (Cools.isEmpty(param.getLocType1())){