From f0efc10af370936b4db47b8428eb1ca4686431f9 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 06 八月 2026 15:11:56 +0800
Subject: [PATCH] feat(home): 添加报表日期范围筛选功能并完善设备维护管理

---
 src/main/java/com/ruoyi/home/service/HomeService.java |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/ruoyi/home/service/HomeService.java b/src/main/java/com/ruoyi/home/service/HomeService.java
index 1b9da60..ce335b2 100644
--- a/src/main/java/com/ruoyi/home/service/HomeService.java
+++ b/src/main/java/com/ruoyi/home/service/HomeService.java
@@ -31,29 +31,30 @@
     Long noticesCount();
 
     ProductionProgressDto productionProgress();
+
     ProductionTurnoverDto workInProcessTurnover();
 
     DeptStaffDistributionDto deptStaffDistribution();
 
     HomeSummaryDto summaryStatistics();
 
-    List<SupplierPurchaseRankingDto> supplierPurchaseRanking(Integer type);
+    List<SupplierPurchaseRankingDto> supplierPurchaseRanking(Integer type, String startDate, String endDate);
 
     CustomerRevenueAnalysisDto customerRevenueAnalysis(Long customerId, Integer type);
 
     ProductCategoryDistributionDto productCategoryDistribution();
 
-    List<CustomerContributionRankingDto> customerContributionRanking(Integer type);
+    List<CustomerContributionRankingDto> customerContributionRanking(Integer type, String startDate, String endDate);
 
-    List<MapDto> productSalesAnalysis();
+    List<MapDto> productSalesAnalysis(String startDate, String endDate);
 
-    List<MapDto> rawMaterialPurchaseAmountRatio();
+    List<MapDto> rawMaterialPurchaseAmountRatio(String startDate, String endDate);
 
-    List<MapDto> salesPurchaseStorageProductCount();
+    List<MapDto> salesPurchaseStorageProductCount(String startDate, String endDate);
 
-    List<Map<String, Object>> productInOutAnalysis(Integer type);
+    List<Map<String, Object>> productInOutAnalysis(Integer type, String startDate, String endDate);
 
-    List<MapDto> productTurnoverDays();
+    List<MapDto> productTurnoverDays(String startDate, String endDate);
 
     List<Map<String, Object>> incomeExpenseAnalysis(Integer type);
 
@@ -75,11 +76,11 @@
 
     List<MapDto> orderCount();
 
-    List<QualityQualifiedAnalysisDto> rawMaterialDetection(Integer type);
+    QualityQualifiedAnalysisDto rawMaterialDetection(Integer type);
 
-    List<QualityQualifiedAnalysisDto> processDetection(Integer type);
+    QualityQualifiedAnalysisDto processDetection(Integer type);
 
-    List<QualityQualifiedAnalysisDto> factoryDetection(Integer type);
+    QualityQualifiedAnalysisDto factoryDetection(Integer type);
 
     QualityInspectionCountDto qualityInspectionCount();
 
@@ -90,4 +91,8 @@
     List<UnqualifiedProductRankDto> unqualifiedProductRanking();
 
     List<MapDto> unqualifiedProductProcessingAnalysis();
+
+    QualityStatisticsDto qualityInspectionStatistics(Integer type);
+
+    List<processDataProductionStatisticsDto> processDataProductionStatistics(Integer type, List<Long> processIds);
 }

--
Gitblit v1.9.3