From 1fd7a7d67a5df84b57af4fbcc310aa66da3cd8ca Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 25 三月 2026 17:51:16 +0800
Subject: [PATCH] feat:1.出入库单位转换 2.仓储/耗材导出字段值优化 3.仓储/耗材库存为0不展示

---
 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