From 946896c1cf0c81befeae145bb363e1a250defc0d Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期五, 20 六月 2025 17:38:40 +0800 Subject: [PATCH] 煤种都存id --- main-business/src/main/java/com/ruoyi/business/service/impl/OutputInventoryRecordServiceImpl.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/service/impl/OutputInventoryRecordServiceImpl.java b/main-business/src/main/java/com/ruoyi/business/service/impl/OutputInventoryRecordServiceImpl.java index 79f120f..a2544f1 100644 --- a/main-business/src/main/java/com/ruoyi/business/service/impl/OutputInventoryRecordServiceImpl.java +++ b/main-business/src/main/java/com/ruoyi/business/service/impl/OutputInventoryRecordServiceImpl.java @@ -8,7 +8,6 @@ import com.ruoyi.business.service.InventorySummaryService; import com.ruoyi.business.service.OutputInventoryRecordService; import lombok.RequiredArgsConstructor; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.math.BigDecimal; @@ -27,10 +26,9 @@ @Service @RequiredArgsConstructor public class OutputInventoryRecordServiceImpl extends ServiceImpl<OutputInventoryRecordMapper, OutputInventoryRecord> implements OutputInventoryRecordService { - @Autowired - private OutputInventoryRecordMapper outputInventoryRecordMapper; - @Autowired - private InventorySummaryService inventorySummaryService; + private final OutputInventoryRecordMapper outputInventoryRecordMapper; + + private final InventorySummaryService inventorySummaryService; @Override public int insertOutputInventoryRecord(PendingInventoryDto pendingInventoryDto, OfficialInventoryDto officialInventoryDto, BigDecimal quantity) { -- Gitblit v1.9.3