From 4035416559e2002937806364b398df94587daaf2 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 02 四月 2026 17:56:18 +0800
Subject: [PATCH] 增加领用记录列表接口,维修后生成领用记录

---
 src/main/java/com/ruoyi/consumables/service/impl/ConsumablesUnInventoryServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/ruoyi/consumables/service/impl/ConsumablesUnInventoryServiceImpl.java b/src/main/java/com/ruoyi/consumables/service/impl/ConsumablesUnInventoryServiceImpl.java
index 48217d6..7c841fd 100644
--- a/src/main/java/com/ruoyi/consumables/service/impl/ConsumablesUnInventoryServiceImpl.java
+++ b/src/main/java/com/ruoyi/consumables/service/impl/ConsumablesUnInventoryServiceImpl.java
@@ -36,8 +36,8 @@
 public class ConsumablesUnInventoryServiceImpl extends ServiceImpl<ConsumablesUnInventoryMapper, ConsumablesUnInventory> implements ConsumablesUnInventoryService {
 
     private ConsumablesUnInventoryMapper consumablesUnInventoryMapper;
-    private ConsumablesOutRecordService ConsumablesOutRecordService;
-    private ConsumablesInRecordService ConsumablesInRecordService;
+    private ConsumablesOutRecordService consumablesOutRecordService;
+    private ConsumablesInRecordService consumablesInRecordService;
 
     @Override
     public IPage<ConsumablesUnInventoryDto> pageConsumablesUnInventory(Page page, ConsumablesUnInventoryDto consumablesUnInventoryDto) {
@@ -54,7 +54,7 @@
         consumablesInRecordDto.setStockInNum(consumablesUnInventoryDto.getQualitity());
         consumablesInRecordDto.setProductModelId(consumablesUnInventoryDto.getProductModelId());
         consumablesInRecordDto.setType("1");
-        ConsumablesInRecordService.add(consumablesInRecordDto);
+        consumablesInRecordService.add(consumablesInRecordDto);
         //鍐嶈繘琛屾柊澧炲簱瀛樻暟閲忓簱瀛�
         //鍏堟煡璇㈠簱瀛樿〃涓殑浜у搧鏄惁瀛樺湪锛屼笉瀛樺湪鏂板锛屽瓨鍦ㄦ洿鏂�
         ConsumablesUnInventory oldConsumablesUnInventory = consumablesUnInventoryMapper.selectOne(new QueryWrapper<ConsumablesUnInventory>().lambda().eq(ConsumablesUnInventory::getProductModelId, consumablesUnInventoryDto.getProductModelId()));
@@ -82,7 +82,7 @@
         consumablesOutRecordDto.setStockOutNum(consumablesUnInventoryDto.getQualitity());
         consumablesOutRecordDto.setProductModelId(consumablesUnInventoryDto.getProductModelId());
         consumablesOutRecordDto.setType("1");
-        ConsumablesOutRecordService.add(consumablesOutRecordDto);
+        consumablesOutRecordService.add(consumablesOutRecordDto);
         ConsumablesUnInventory oldConsumablesInventory = consumablesUnInventoryMapper.selectOne(new QueryWrapper<ConsumablesUnInventory>().lambda().eq(ConsumablesUnInventory::getProductModelId, consumablesUnInventoryDto.getProductModelId()));
         if (ObjectUtils.isEmpty(oldConsumablesInventory)) {
             throw new RuntimeException("浜у搧搴撳瓨涓嶅瓨鍦�");

--
Gitblit v1.9.3