pms算法调整
This commit is contained in:
@@ -150,10 +150,10 @@
|
||||
<select id="getMonthRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.RStatOrgIndexVO$RStatOrgIndexInfoVO">
|
||||
select
|
||||
org_no,
|
||||
effective_measurement_accrued as allCount,
|
||||
freq_pass_rate,
|
||||
v_dev_pass_rate,
|
||||
flicker_pass_rate
|
||||
sum(effective_measurement_accrued) as allCount,
|
||||
avg(freq_pass_rate) freq_pass_rate,
|
||||
avg(v_dev_pass_rate) v_dev_pass_rate,
|
||||
avg(flicker_pass_rate) flicker_pass_rate
|
||||
from
|
||||
r_stat_org_m rso
|
||||
<where>
|
||||
@@ -170,6 +170,7 @@
|
||||
<if test="param!=null and param.endTime != null and param.endTime != ''">
|
||||
AND rso.data_date <= #{param.endTime}
|
||||
</if>
|
||||
group by org_no
|
||||
</where>
|
||||
</select>
|
||||
<select id="getPwMonthRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.PwRStatOrgVO">
|
||||
|
||||
@@ -148,11 +148,11 @@
|
||||
</select>
|
||||
<select id="getQuarterRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.RStatOrgIndexVO$RStatOrgIndexInfoVO">
|
||||
select
|
||||
org_no,
|
||||
effective_measurement_accrued as allCount,
|
||||
freq_pass_rate,
|
||||
v_dev_pass_rate,
|
||||
flicker_pass_rate
|
||||
org_no,
|
||||
sum(effective_measurement_accrued) as allCount,
|
||||
avg(freq_pass_rate) freq_pass_rate,
|
||||
avg(v_dev_pass_rate) v_dev_pass_rate,
|
||||
avg(flicker_pass_rate) flicker_pass_rate
|
||||
from
|
||||
r_stat_org_q rso
|
||||
<where>
|
||||
@@ -169,6 +169,7 @@
|
||||
<if test="param!=null and param.endTime != null and param.endTime != ''">
|
||||
AND rso.data_date <= #{param.endTime}
|
||||
</if>
|
||||
group by org_no
|
||||
</where>
|
||||
</select>
|
||||
<select id="getPwQuarterRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.PwRStatOrgVO">
|
||||
|
||||
@@ -149,11 +149,11 @@
|
||||
</select>
|
||||
<select id="getYearRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.RStatOrgIndexVO$RStatOrgIndexInfoVO">
|
||||
select
|
||||
org_no,
|
||||
effective_measurement_accrued as allCount,
|
||||
freq_pass_rate,
|
||||
v_dev_pass_rate,
|
||||
flicker_pass_rate
|
||||
org_no,
|
||||
sum(effective_measurement_accrued) as allCount,
|
||||
avg(freq_pass_rate) freq_pass_rate,
|
||||
avg(v_dev_pass_rate) v_dev_pass_rate,
|
||||
avg(flicker_pass_rate) flicker_pass_rate
|
||||
from
|
||||
r_stat_org_y rso
|
||||
<where>
|
||||
@@ -170,6 +170,7 @@
|
||||
<if test="param!=null and param.endTime != null and param.endTime != ''">
|
||||
AND rso.data_date <= #{param.endTime}
|
||||
</if>
|
||||
group by org_no
|
||||
</where>
|
||||
</select>
|
||||
<select id="getPwYearRStatOrgIndex" resultType="com.njcn.harmonic.pojo.vo.PwRStatOrgVO">
|
||||
|
||||
Reference in New Issue
Block a user