From a5c2b955b399a86d183f0901d9f6e1f1b3ce869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 3 Dec 2025 16:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BD=90=E5=A5=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AutoTaskServiceImpl.java | 3 +-- .../service/impl/WcsIntegrationServiceImpl.java | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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("栈板不在运输点位,无法进行打托操作"); }