Browse Source

齐套

master
常熟吴彦祖 3 months ago
parent
commit
a5c2b955b3
  1. 3
      src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/AutoTaskServiceImpl.java
  2. 8
      src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java

3
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

8
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("栈板不在运输点位,无法进行打托操作");
}

Loading…
Cancel
Save