Commit c7195ea0 authored by 吴俊凯's avatar 吴俊凯

首页故障统计SQL修改

parent 36087d9e
......@@ -371,11 +371,11 @@
SELECT
count(1)
FROM
f_alarm a
wl_equipment_specific_alarm a
WHERE
`status` = TRUE
status = 1
AND org_code = #{orgCode}
AND type = 'alarm_type_trouble'
AND type = 'BREAKDOWN'
AND date_format(a.update_date, '%Y-%m-%d') = #{date}
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment