f3d6fcf1 张雷

禅道BUG修改

1 个父辈 f0e48d8a
......@@ -222,11 +222,11 @@
left join (
SELECT
RIGHT( LEFT ( v3.time, 7 ), 2 ) AS time,
round(SUM( v3.PAMRJ ) + SUM( v3.SCLPAMZ ) + SUM( v3.SCLPAMF ) + SUM( v3.NACLO ) +
SUM( v3.PACGT ) + SUM( v3.PACYT ) + SUM( v3.PFS ) + SUM( v3.FHTY ) +
SUM( v3.RYXNJ ) + SUM( v3.YWL ) + SUM( v3.GXCLJ ) + SUM( v3.CH3COONA ) + SUM( v3.HXT ) +
SUM( v3.FECL3 ) + SUM( v3.SH ) + SUM( v3.CH3COOH ) + SUM( v3.FESO4G ) +
SUM( v3.FESO4Y ) + SUM( v3.H2O2 ),2) as yjhl
round(SUM( IFNULL(v3.PAMRJ,0) ) + SUM( IFNULL(v3.SCLPAMZ,0) ) + SUM( IFNULL(v3.SCLPAMF,0) ) + SUM( IFNULL(v3.NACLO,0) ) +
SUM( IFNULL(v3.PACGT,0) ) + SUM( IFNULL(v3.PACYT,0) ) + SUM( IFNULL(v3.PFS,0) ) + SUM( IFNULL(v3.FHTY,0) ) +
SUM( IFNULL(v3.RYXNJ,0) ) + SUM( IFNULL(v3.YWL,0) ) + SUM( IFNULL(v3.GXCLJ,0) ) + SUM( IFNULL(v3.CH3COONA,0) ) + SUM( IFNULL(v3.HXT,0) ) +
SUM( IFNULL(v3.FECL3,0) ) + SUM( IFNULL(v3.SH,0) ) + SUM( IFNULL(v3.CH3COOH,0) ) + SUM( IFNULL(v3.FESO4G,0) ) +
SUM( IFNULL(v3.FESO4Y,0) ) + SUM( IFNULL(v3.H2O2,0) ),2) as yjhl
FROM
${view3a24tb} v3
WHERE
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!