From f0bcc6b51f4a272321710650800486d7d2f019fd Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 10 四月 2026 17:01:52 +0800
Subject: [PATCH] fix:报工数量负数判断

---
 src/main/java/com/ruoyi/home/service/HomeService.java |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/ruoyi/home/service/HomeService.java b/src/main/java/com/ruoyi/home/service/HomeService.java
index a7038e5..e5dba40 100644
--- a/src/main/java/com/ruoyi/home/service/HomeService.java
+++ b/src/main/java/com/ruoyi/home/service/HomeService.java
@@ -100,11 +100,31 @@
 
     SalesTotalDto salesAnalysis(SalesDeliveryDto salesDeliveryDto);
 
-    List<SalesTotalDetailDto> salesRanking(SalesDeliveryDto salesDeliveryDto);
-
     SalesTotalDto salesAmount(SalesDeliveryDto salesDeliveryDto);
 
-    List<SalesTotalDetailDto> salesDataRanking(SalesDeliveryDto salesDeliveryDto);
-
     SalesTotalDto customerTrends(SalesDeliveryDto salesDeliveryDto);
+
+    Map<String,List<MaterialProductionAnalysisDto>> materialProductionAnalysis(productionStatisticsDto dto);
+
+    List<String> getMaterials(Integer materialType);
+
+    List<ProductionCostAnalysisDto> productionCostAnalysis(productionStatisticsDto dto, Integer materialType);
+
+    ProductionStatisticsMiddleDto middle();
+
+    List<SolidWasteStatisticsDto> solidWaste(productionStatisticsDto dto);
+
+    List<HomeEnergyStatisticsDto> energy(productionStatisticsDto dto);
+
+    SolidWasteCoreIndicatorsDto coreIndicators(productionStatisticsDto dto);
+
+    List<SolidWasteStatisticsDto> trends(productionStatisticsDto dto);
+
+    List<MapDto> typeDistribution(productionStatisticsDto dto);
+
+    Map<String,Long> manage();
+
+    List<PlanTrendsDto> planTrends(Integer type);
+
+    List<RawMaterialProductionDto> rawMaterialProductions(String month);
 }

--
Gitblit v1.9.3