Commit 913d9d07 authored by zhangsen's avatar zhangsen

水源信息BUG

parent 13bbaed5
...@@ -2494,7 +2494,7 @@ ...@@ -2494,7 +2494,7 @@
IFNULL( rp.min_water_level, 0 ) AS minLevel, IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.max_water_level, 0 ) AS maxLevel, IFNULL( rp.max_water_level, 0 ) AS maxLevel,
(select (select
avg(IFNULL(ei.`value`,0)) FORMAT(avg(IFNULL(ei.`value`,0)), 2)
from from
wl_equipment_specific_index ei wl_equipment_specific_index ei
where where
...@@ -2976,7 +2976,7 @@ ...@@ -2976,7 +2976,7 @@
ifnull( `rp`.`min_water_level`, 0 ) AS `minLevel`, ifnull( `rp`.`min_water_level`, 0 ) AS `minLevel`,
ifnull( `rp`.`max_water_level`, 0 ) AS `maxLevel`, ifnull( `rp`.`max_water_level`, 0 ) AS `maxLevel`,
(select (select
avg(IFNULL(ei.`value`,0)) FORMAT(avg(IFNULL(ei.`value`,0)), 2)
from from
wl_equipment_specific_index ei wl_equipment_specific_index ei
where where
...@@ -4666,7 +4666,7 @@ ...@@ -4666,7 +4666,7 @@
IFNULL( rp.min_water_level, 0 ) AS minLevel, IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.max_water_level, 0 ) AS maxLevel, IFNULL( rp.max_water_level, 0 ) AS maxLevel,
(select (select
avg(IFNULL(ei.`value`,0)) FORMAT(avg(IFNULL(ei.`value`,0)), 2)
from from
wl_equipment_specific_index ei wl_equipment_specific_index ei
where where
...@@ -4824,7 +4824,7 @@ ...@@ -4824,7 +4824,7 @@
IFNULL( rp.min_water_level, 0 ) AS minLevel, IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.max_water_level, 0 ) AS maxLevel, IFNULL( rp.max_water_level, 0 ) AS maxLevel,
(select (select
avg(IFNULL(ei.`value`,0)) FORMAT(avg(IFNULL(ei.`value`,0)), 2)
from from
wl_equipment_specific_index ei wl_equipment_specific_index ei
where where
......
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