自动化立体仓库 - WMS系统
1
zhang
2025-06-25 0e262efdb8cb2768e0aa845ccb26f47b8732c577
src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java
@@ -276,6 +276,18 @@
                }
                break;
        }
        try {
            Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "BARCODE"));
            boolean flag = false;
            if (!Cools.isEmpty(config)) {
                flag = config.getValue().equals("Y");
            }
            if (!Cools.isEmpty(agvWrkMast.getBarcode()) && flag) {
                agvTaskCreateParam.setPodCode(agvWrkMast.getBarcode());
            }
        }catch (Exception e){
        }
        agvTaskCreateParam.setPositionCodePath(agvTaskParamList);
    }
@@ -299,7 +311,7 @@
            } else if (sourceLocNo.endsWith("01F1") && !locNo.startsWith("YZ") && locNo.endsWith("F4")) {
                // 从吸塑一楼的库位到吸塑二楼的点位上
                return true;
            }else if (sourceLocNo.endsWith("02F1") && !locNo.startsWith("YZ") && locNo.endsWith("F1")) {
            } else if (sourceLocNo.endsWith("02F1") && !locNo.startsWith("YZ") && locNo.endsWith("F1")) {
                // 从吸塑er楼的kuwei到吸塑一楼的dianwei
                return true;
            }
@@ -313,7 +325,7 @@
            } else if (sourceLocNo.endsWith("F4") && locNo.startsWith("YZ") && locNo.endsWith("01F1")) {
                // 从吸塑二楼的点位到吸塑一楼的库位
                return true;
            }else if (sourceLocNo.endsWith("F1") && locNo.startsWith("YZ") && locNo.endsWith("02F1")) {
            } else if (sourceLocNo.endsWith("F1") && locNo.startsWith("YZ") && locNo.endsWith("02F1")) {
                // 从吸塑二楼的点位到吸塑一楼的库位
                return true;
            }