自动化立体仓库 - WMS系统
dubin
2025-10-29 c31e8e5c66195f523ecb9a8254f29e1fdacfab6d
入库调整
1个文件已修改
3 ■■■■ 已修改文件
src/main/java/com/zy/common/web/WcsController.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/web/WcsController.java
@@ -68,7 +68,8 @@
            }
            int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet", param.getBarcode()));
            int countWrk = wrkDetlService.selectCount(new EntityWrapper<WrkDetl>().eq("zpallet", param.getBarcode()));
            if (countLoc > 0 || countWrk > 0) {
            WrkMast wrkMast = wrkMastService.selectByBarcode(param.getBarcode());
            if (countLoc > 0 || (countWrk > 0 && wrkMast.getWrkSts() != 15)) {
                return R.error("工作档/库存条码数据已存在");
            }
        }