huminmin
6 天以前 e47e58e20366c7c246e26b1107a9e242c9a2d836
src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java
@@ -190,6 +190,10 @@
        stockInRecordDto.setWarnNum(stockInventoryDto.getWarnNum());
        stockInRecordDto.setManufacturerId(stockInventoryDto.getManufacturerId());
        stockInRecordDto.setSource(stockInventoryDto.getSource());
        // 设置含水量相关信息
        stockInRecordDto.setIsContainsWater(stockInventoryDto.getIsContainsWater());
        stockInRecordDto.setWaterContent(stockInventoryDto.getWaterContent());
        stockInRecordDto.setTheoryStockInNum(stockInventoryDto.getTheoryStockInNum());
        stockInRecordService.add(stockInRecordDto);
        return true;
    }