diff --git a/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/service/CoalWashingDailyAnalysisService.java b/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/service/CoalWashingDailyAnalysisService.java index e60d4d1e..a988a264 100644 --- a/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/service/CoalWashingDailyAnalysisService.java +++ b/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/service/CoalWashingDailyAnalysisService.java @@ -275,7 +275,7 @@ public class CoalWashingDailyAnalysisService inner join t_product p on p.id = a.product_id - where 1=1 and d.organization_id = :organizationId + where 1=1 and a.organization_id = :organizationId <#if startTime??> and date >= :startTime <#if endTime??> and date <= :endTime