自动化立体仓库 - WMS系统
zhangc
2025-03-19 f02c773b5871178bba5370454408882416ae2b14
src/main/java/com/zy/asrs/controller/AgvBasDevpController.java
@@ -237,7 +237,11 @@
        String barcode = map.get("barcode").toString();
        AgvWrkMast agvWrkMast = agvWrkMastService.selectOne(new EntityWrapper<AgvWrkMast>().eq("barcode", barcode).eq("wrk_sts", 205L));
        if (agvWrkMast == null) {
            R.error("工作档不存在");
            agvWrkMast = agvWrkMastService.selectOne(new EntityWrapper<AgvWrkMast>().eq("barcode", barcode));
            if (agvWrkMast != null && agvWrkMast.getWrkSts() != 205) {
                return R.error("工作档状态不对");
            }
            return R.error("工作档不存在");
        }
        if (agvWrkMast.getIoType() != 101 && agvWrkMast.getIoType() != 110) {
            throw new CoolException("工作号为" + agvWrkMast.getWrkNo() + "类型不为101.出库,无法执行货架离场任务,请重新选择站点。");