src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java
@@ -103,6 +103,18 @@
        stockInventoryService.addstockInventory(stockInventoryDto);
    }
    public void addStock(Long productModelId, BigDecimal quantity, String recordType, Long recordId,
                         String processCategory, String voltage) {
        StockInventoryDto stockInventoryDto = new StockInventoryDto();
        stockInventoryDto.setRecordId(recordId);
        stockInventoryDto.setRecordType(String.valueOf(recordType));
        stockInventoryDto.setQualitity(quantity);
        stockInventoryDto.setProductModelId(productModelId);
        stockInventoryDto.setProcessCategory(processCategory);
        stockInventoryDto.setVoltage(voltage);
        stockInventoryService.addstockInventory(stockInventoryDto);
    }
    /**
     * 合格入库(不审核)
     *
@@ -120,6 +132,18 @@
        stockInventoryService.addstockInventoryNoReview(stockInventoryDto);
    }
    public void addStockNoReview(Long productModelId, BigDecimal quantity, String recordType, Long recordId,
                                 String processCategory, String voltage) {
        StockInventoryDto stockInventoryDto = new StockInventoryDto();
        stockInventoryDto.setRecordId(recordId);
        stockInventoryDto.setRecordType(String.valueOf(recordType));
        stockInventoryDto.setQualitity(quantity);
        stockInventoryDto.setProductModelId(productModelId);
        stockInventoryDto.setProcessCategory(processCategory);
        stockInventoryDto.setVoltage(voltage);
        stockInventoryService.addstockInventoryNoReview(stockInventoryDto);
    }
    /**
     * 合格出库
     *