各专业隐患小类风险走势图bug修复

This commit is contained in:
guoshengxiong 2025-10-21 15:10:37 +08:00
parent 4df713ca28
commit 13f7360162

View File

@ -1162,7 +1162,7 @@
,count(*) as y_val
from xz_security_quality_inspection_record r
join xz_security_danger_type_record t on t.id=r.danger_type_id
join xz_security_danger_type_record t2 on t.id=r.danger_type_id
join xz_security_danger_type_record t2 on t2.id=r.danger_second_type_id
where r.project_sn = #{projectSn}
and t2.level = 2
and r.status != 6