src/main/java/com/ruoyi/sales/service/impl/SalesLedgerProductServiceImpl.java
@@ -31,6 +31,7 @@ import com.ruoyi.technology.mapper.TechnologyRoutingMapper; import com.ruoyi.technology.pojo.TechnologyRouting; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; @@ -55,27 +56,44 @@ * @date 2025-05-08 */ @Service @RequiredArgsConstructor public class SalesLedgerProductServiceImpl extends ServiceImpl<SalesLedgerProductMapper, SalesLedgerProduct> implements ISalesLedgerProductService { private final SalesLedgerProductMapper salesLedgerProductMapper; private final ProductionAccountMapper productionAccountMapper; private final SalesLedgerMapper salesLedgerMapper; private final PurchaseLedgerMapper purchaseLedgerMapper; private final ProductionPlanMapper productionPlanMapper; private final ProductionOperationTaskMapper productionOperationTaskMapper; private final ProductionOrderService productionOrderService; private final TechnologyRoutingMapper technologyRoutingMapper; private final TechnologyBomStructureMapper technologyBomStructureMapper; private final InvoiceRegistrationProductMapper invoiceRegistrationProductMapper; private final ProductionProductMainMapper productionProductMainMapper; private final ProductionProductOutputMapper productionProductOutputMapper; private final ProductionProductInputMapper productionProductInputMapper; private final QualityInspectMapper qualityInspectMapper; private final ShippingInfoMapper shippingInfoMapper; private final ShippingInfoServiceImpl shippingInfoService; private final StockUtils stockUtils; private final StockInventoryMapper stockInventoryMapper; @Autowired private SalesLedgerProductMapper salesLedgerProductMapper; @Autowired private ProductionAccountMapper productionAccountMapper; @Autowired private SalesLedgerMapper salesLedgerMapper; @Autowired private PurchaseLedgerMapper purchaseLedgerMapper; @Autowired private ProductionPlanMapper productionPlanMapper; @Autowired private ProductionOperationTaskMapper productionOperationTaskMapper; @Autowired private ProductionOrderService productionOrderService; @Autowired private TechnologyRoutingMapper technologyRoutingMapper; @Autowired private TechnologyBomStructureMapper technologyBomStructureMapper; @Autowired private InvoiceRegistrationProductMapper invoiceRegistrationProductMapper; @Autowired private ProductionProductMainMapper productionProductMainMapper; @Autowired private ProductionProductOutputMapper productionProductOutputMapper; @Autowired private ProductionProductInputMapper productionProductInputMapper; @Autowired private QualityInspectMapper qualityInspectMapper; @Autowired private ShippingInfoMapper shippingInfoMapper; @Autowired private ShippingInfoServiceImpl shippingInfoService; @Autowired private StockUtils stockUtils; @Autowired private StockInventoryMapper stockInventoryMapper; @Override public SalesLedgerProduct selectSalesLedgerProductById(Long id) { src/main/java/com/ruoyi/sales/service/impl/ShippingInfoServiceImpl.java
@@ -23,6 +23,7 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Collections; @@ -37,11 +38,17 @@ @RequiredArgsConstructor public class ShippingInfoServiceImpl extends ServiceImpl<ShippingInfoMapper, ShippingInfo> implements ShippingInfoService { private final ShippingInfoMapper shippingInfoMapper; private final TempFileServiceImpl tempFileService; private final SalesLedgerProductMapper salesLedgerProductMapper; private final StockUtils stockUtils; private final CommonFileServiceImpl commonFileService; private final ApproveProcessServiceImpl approveProcessService; private final FileUtil fileUtil; src/main/java/com/ruoyi/stock/service/impl/StockOutRecordServiceImpl.java
@@ -26,6 +26,8 @@ import com.ruoyi.stock.pojo.StockUninventory; import com.ruoyi.stock.service.StockOutRecordService; import lombok.AllArgsConstructor; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; @@ -42,11 +44,11 @@ * @since 2026-01-21 05:27:04 */ @Service @AllArgsConstructor @RequiredArgsConstructor public class StockOutRecordServiceImpl extends ServiceImpl<StockOutRecordMapper, StockOutRecord> implements StockOutRecordService { private StockOutRecordMapper stockOutRecordMapper; private StockInventoryMapper stockInventoryMapper; private StockUninventoryMapper stockUninventoryMapper; private final StockOutRecordMapper stockOutRecordMapper; private final StockInventoryMapper stockInventoryMapper; private final StockUninventoryMapper stockUninventoryMapper; @Override public IPage<StockOutRecordDto> listPage(Page page, StockOutRecordDto stockOutRecordDto) { src/main/java/com/ruoyi/stock/service/impl/StockUninventoryServiceImpl.java
@@ -21,6 +21,8 @@ import com.ruoyi.stock.service.StockOutRecordService; import com.ruoyi.stock.service.StockUninventoryService; import lombok.AllArgsConstructor; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -38,12 +40,13 @@ * @since 2026-01-22 10:17:45 */ @Service @AllArgsConstructor @RequiredArgsConstructor public class StockUninventoryServiceImpl extends ServiceImpl<StockUninventoryMapper, StockUninventory> implements StockUninventoryService { private StockUninventoryMapper stockUninventoryMapper; private StockOutRecordService stockOutRecordService; private StockInRecordService stockInRecordService; private final StockUninventoryMapper stockUninventoryMapper; private final StockOutRecordService stockOutRecordService; private final StockInRecordService stockInRecordService; @Override public IPage<StockUninventoryDto> pageStockUninventory(Page page, StockUninventoryDto stockUninventoryDto) {