| | |
| | | || StringUtils.isBlank(outbound.getFactoryId()) |
| | | || StringUtils.isBlank(outbound.getWarehouseId()) |
| | | || outbound.getQuantity() == null |
| | | || outbound.getQuantity().intValue() > 0 |
| | | || outbound.getQuantity().intValue() < 1 |
| | | || StringUtils.isBlank(outbound.getBatchNumber()) |
| | | || StringUtils.isBlank(outbound.getInventoryId())) { |
| | | || StringUtils.isBlank(outbound.getInventoryId())) { |
| | | return false; |
| | | } |
| | | LswMaterialInventory inventory = materialInventoryService.getById(outbound.getInventoryId()); |
| | | if(inventory == null) { |
| | | if (inventory == null) { |
| | | return false; |
| | | } |
| | | //更新库存状态 |