Browse Source

1.库内作业需求逻辑优化

training
zhenghaoyu 1 year ago
parent
commit
d23ed8a25c
  1. 4
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

4
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

@ -1715,9 +1715,9 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
BasicdataTrayEntity trayEntity = warehouseTaryAllocationService.getTrayByAllocationId(allocationId); BasicdataTrayEntity trayEntity = warehouseTaryAllocationService.getTrayByAllocationId(allocationId);
if(Objects.isNull(trayEntity)){ if(Objects.isNull(trayEntity)){
//没有托盘就直接修改库位数据 //没有托盘就直接修改库位数据
changeUpdownGoodsToNewAllocation(list,targetAllocationId,updownTypeEntity);
//修改绑定数据的库位信息到新库位 //修改绑定数据的库位信息到新库位
changeUpdownGoodsToNewAllocation(list,targetAllocationId,updownTypeEntity);
//下架原库位的所有货物
downAllocation(allocationId); downAllocation(allocationId);
}else{ }else{
String trayCode = trayEntity.getPalletCode(); String trayCode = trayEntity.getPalletCode();

Loading…
Cancel
Save