自动化立体仓库 - WMS系统
#
chen.lin
9 小时以前 0022263c834570d17b6bd75f9fc87cfd74ec7133
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -235,10 +235,12 @@
            }
        }
        // 2. 校验工作档中运行中的托盘码
        int wrkMastCount = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("barcode", barcode));
        if (wrkMastCount != 0) {
            log.warn("条码在工作档已存在:{}", barcode);
            throw new CoolException("条码在工作档,请更换条码:" + barcode);
        if (type != 2) {
            int wrkMastCount = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("barcode", barcode));
            if (wrkMastCount != 0) {
                log.warn("条码在工作档已存在:{}", barcode);
                throw new CoolException("条码在工作档,请更换条码:" + barcode);
            }
        }
        // 3. 校验AGV任务列表中未完成的托盘码:检查是否有未完成的AGV任务(is_deleted=0)