diff --git a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/AutoTaskServiceImpl.java b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/AutoTaskServiceImpl.java index 3cc9bea..088a3dd 100644 --- a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/AutoTaskServiceImpl.java +++ b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/AutoTaskServiceImpl.java @@ -40,8 +40,7 @@ public class AutoTaskServiceImpl implements AutoTaskService { private TransNoControlService transNoService; @Autowired private WcsApiService wcsApiService; - @Autowired - private AgvClientUtil agvClientUtil; + @Autowired private AgvTaskMapper agvTaskMapper; // 添加AgvTaskMapper注入 - rqrq @Autowired diff --git a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java index 2d40a5e..0519684 100644 --- a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java +++ b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java @@ -460,8 +460,6 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { //初始化的时候用 一开始栈板是没有位置的 按照第一个入栈的标签来给虚拟位置 后期不需要处理 if("TEMP".equals(labelWarehouseId)){ wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "TEMP"); - }else if("AS".equals(labelLocationId)){ - wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "Virtual_AS"); }else if("W01".equals(labelWarehouseId)){ wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W01"); }else if("L01".equals(labelWarehouseId)){ @@ -470,6 +468,12 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "Q01"); }else if("W02".equals(labelWarehouseId)){ wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W02"); + }else if("W03".equals(labelWarehouseId)){ + wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W03"); + }else if("W04".equals(labelWarehouseId)){ + wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W04"); + }else if("W05".equals(labelWarehouseId)){ + wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W05"); }else { throw new Exception("栈板不在运输点位,无法进行打托操作"); }