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 | 37 +++++++++++++++++++++++++++++--------
1 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/src/main/java/com/ruoyi/home/service/HomeService.java b/src/main/java/com/ruoyi/home/service/HomeService.java
index 0a37187..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);
@@ -71,7 +72,27 @@
List<WorkOrderEfficiencyDto> workOrderEfficiencyAnalysis(Integer type);
- List<MapDto> productionAccountingAnalysis(Integer type);
+ List<ProductionAccountingDto> productionAccountingAnalysis(Integer type);
List<MapDto> orderCount();
+
+ QualityQualifiedAnalysisDto rawMaterialDetection(Integer type);
+
+ QualityQualifiedAnalysisDto processDetection(Integer type);
+
+ QualityQualifiedAnalysisDto factoryDetection(Integer type);
+
+ QualityInspectionCountDto qualityInspectionCount();
+
+ NonComplianceWarningDto nonComplianceWarning();
+
+ List<CompletedInspectionCountDto> completedInspectionCount();
+
+ List<UnqualifiedProductRankDto> unqualifiedProductRanking();
+
+ List<MapDto> unqualifiedProductProcessingAnalysis();
+
+ QualityStatisticsDto qualityInspectionStatistics(Integer type);
+
+ List<processDataProductionStatisticsDto> processDataProductionStatistics(Integer type, List<Long> processIds);
}
--
Gitblit v1.9.3