单位暂态算法调整
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
TRUNCATE( c.average_over_day, 2)as averageOverDay
|
||||
FROM
|
||||
r_stat_harmonic_q c
|
||||
RIGHT JOIN r_stat_org_q AS rso ON rso.org_no = c.org_no
|
||||
RIGHT JOIN r_stat_org_q AS rso ON rso.org_no = c.org_no and c.measurement_type_class = rso.measurement_type_class
|
||||
<where>
|
||||
c.data_Type=#{dataType} and rso.data_Type=#{dataType}
|
||||
<if test="param != null and param.ids != null and param.ids.size > 0">
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
c.average_over_day
|
||||
FROM
|
||||
r_stat_harmonic_y c
|
||||
RIGHT JOIN r_stat_org_y AS rso ON rso.org_no = c.org_no
|
||||
RIGHT JOIN r_stat_org_y AS rso ON rso.org_no = c.org_no and c.measurement_type_class = rso.measurement_type_class
|
||||
<where>
|
||||
c.data_Type=#{dataType} and rso.data_Type=#{dataType}
|
||||
<if test="param != null and param.ids != null and param.ids.size > 0">
|
||||
|
||||
Reference in New Issue
Block a user