Commit 25354746 authored by tianyiming's avatar tianyiming

修改bug

parent 0a39d7cf
...@@ -1391,7 +1391,7 @@ ...@@ -1391,7 +1391,7 @@
) fireAlarm ON ((( ) fireAlarm ON (((
date_format( `fireAlarm`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date` date_format( `fireAlarm`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date`
) )
AND ( `fireAlarm`.`equipment_specific_index_name` = '火警' ) AND ( `fireAlarm`.`type` = 'FIREALARM' )
))) )))
GROUP BY GROUP BY
`weekUtil`.`click_date` `weekUtil`.`click_date`
...@@ -1420,7 +1420,7 @@ ...@@ -1420,7 +1420,7 @@
</where> </where>
) `breakdown` ON ((( ) `breakdown` ON (((
`weekUtil`.`click_date` = date_format( `breakdown`.`create_date`, '%Y-%m-%d' )) `weekUtil`.`click_date` = date_format( `breakdown`.`create_date`, '%Y-%m-%d' ))
AND ( `breakdown`.`equipment_specific_index_name` = '故障' )))) AND ( `breakdown`.`type` = 'BREAKDOWN' ))))
GROUP BY GROUP BY
`weekUtil`.`click_date` `weekUtil`.`click_date`
ORDER BY ORDER BY
...@@ -1449,7 +1449,7 @@ ...@@ -1449,7 +1449,7 @@
) `shield` ON ((( ) `shield` ON (((
date_format( `shield`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date` date_format( `shield`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date`
) )
AND ( `shield`.`equipment_specific_index_name` = '屏蔽' )))) AND ( `shield`.`type` = 'SHIELD' ))))
GROUP BY GROUP BY
`weekUtil`.`click_date` `weekUtil`.`click_date`
ORDER BY ORDER BY
...@@ -1479,7 +1479,7 @@ ...@@ -1479,7 +1479,7 @@
date_format( `other`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date` date_format( `other`.`create_date`, '%Y-%m-%d' ) = `weekUtil`.`click_date`
) )
AND ( AND (
`other`.`equipment_specific_index_name` NOT IN ( '火警', '故障', '屏蔽' ))))) `other`.`equipment_specific_index_name` NOT IN ( 'SHIELD', 'BREAKDOWN', 'FIREALARM' )))))
GROUP BY GROUP BY
`weekUtil`.`click_date` `weekUtil`.`click_date`
ORDER BY ORDER BY
......
...@@ -4640,7 +4640,7 @@ ...@@ -4640,7 +4640,7 @@
) )
END END
) AS levelAbs, ) AS levelAbs,
a.nowLevel, IFNULL( a.nowLevel, '--' ) nowLevel,
( (
CASE CASE
......
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