Browse Source

增加货物的null 判断

dev-pushdata-important
pref_mail@163.com 1 year ago
parent
commit
b1f4a6c106
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

@ -1571,7 +1571,9 @@ public class DistributionStockupAppController extends BladeController {
warehouseUpdownGoodsEntity.setAssociationValue(stockupDTO.getPacketBarCode());
warehouseUpdownGoodsEntity.setWarehouseId(distributionStockupEntity.getWarehouseId());
WarehouseUpdownGoodsEntity locationInformation = warehouseUpdownGoodsClient.getLocationInformation(warehouseUpdownGoodsEntity);
entity.setAllocationTitle(locationInformation.getPositionCode());
if(ObjectUtils.isNotNull(locationInformation)){
entity.setAllocationTitle(locationInformation.getPositionCode());
}
entity.setAllocationId(stockupDTO.getAllocationId());
}
entity.setConditions("0");

Loading…
Cancel
Save