Browse Source

1.库内逻辑优化

single_db
zhenghaoyu 10 months ago
parent
commit
b1beb90672
  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

@ -318,6 +318,10 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
} }
Map map = distributionStockArticleClient.findShelfNumByOrderCodeAndWarehouseId(orderCode,warehouseId); Map map = distributionStockArticleClient.findShelfNumByOrderCodeAndWarehouseId(orderCode,warehouseId);
if(Objects.isNull(map)){
log.warn("#################findUpShelfScanGoods: 无可用数据 orderCode={}",orderCode);
throw new CustomerException(403,"无可用数据");
}
List<UpShelfDataVO> ls = new ArrayList<>(); List<UpShelfDataVO> ls = new ArrayList<>();
UpShelfDataVO upShelfDataVO = new UpShelfDataVO(); UpShelfDataVO upShelfDataVO = new UpShelfDataVO();

Loading…
Cancel
Save