Browse Source

1.解决循环依赖

dev-warehouse
zhenghaoyu 2 years ago
parent
commit
2d3fd8ed1c
  1. 3
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

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

@ -42,7 +42,6 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
private final IBasicdataTrayClient basicdataTrayClient;
private final IWarehouseTrayTypeService warehouseTrayTypeService;
private final IWarehouseTrayGoodsService warehouseTrayGoodsService;
private final IWarehouseUpdownTypeService warehouseUpdownTypeService;
private final IWarehouseUpdownGoodsService warehouseUpdownGoodsService;
@Override
@ -257,7 +256,7 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
.eq("shelf_id",goodsShelfId)
.eq("allocation_id",allocationId)
.eq("is_deleted",0);
WarehouseUpdownTypeEntity updownTypeEntity = warehouseUpdownTypeService.getOne(updownTypeEntityQueryWrapper);
WarehouseUpdownTypeEntity updownTypeEntity = baseMapper.selectOne(updownTypeEntityQueryWrapper);
if(Objects.isNull(updownTypeEntity)){
log.warn("#############upShelfScanAllocation: 库位暂无数据 allocationId={}",allocationId);
return upShelfAllocationVO;

Loading…
Cancel
Save