fix(coal): 修复原煤分析查询条件错误

- 将查询条件中的 d.organization_id 更改为 a.organization_id
- 此修改确保了正确的组织 ID 过滤,提高了查询结果的准确性
This commit is contained in:
2025-03-21 00:14:43 +08:00
parent fb4eac458d
commit 1d55565c56

View File

@@ -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>
<#if endTime??> and date <= :endTime </#if>