| | |
| | | }else { |
| | | ConsumablesInventoryDto consumablesInRecordDto = new ConsumablesInventoryDto(); |
| | | consumablesInRecordDto.setProductModelId(consumablesInventory.getProductModelId()); |
| | | consumablesInRecordDto.setQualitity(consumablesInRecord.getConsumablesInNum()); |
| | | consumablesInRecordDto.setQualitity(consumablesInRecord.getStockInNum()); |
| | | consumablesInventoryMapper.updateSubtractConsumablesInventory(consumablesInRecordDto); |
| | | } |
| | | }else if (consumablesInRecord.getType().equals("1")) { |
| | |
| | | }else { |
| | | ConsumablesUnInventoryDto consumablesUnInventoryDto = new ConsumablesUnInventoryDto(); |
| | | consumablesUnInventoryDto.setProductModelId(consumablesUnInventory.getProductModelId()); |
| | | consumablesUnInventoryDto.setQualitity(consumablesInRecord.getConsumablesInNum()); |
| | | consumablesUnInventoryDto.setQualitity(consumablesInRecord.getStockInNum()); |
| | | consumablesUnInventoryMapper.updateSubtractConsumablesUnInventory(consumablesUnInventoryDto); |
| | | } |
| | | } |