|
|
|
@ -39,7 +39,7 @@ |
|
|
|
<!-- 获取网格内党员的联系群众能力考评分(平均值) --> |
|
|
|
<select id="selectGridContactMassesAvgValue" parameterType="map" resultType="java.math.BigDecimal"> |
|
|
|
SELECT |
|
|
|
AVG( SCORE ) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
round(AVG( SCORE ),6) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
FROM |
|
|
|
fact_index_cpc_score m |
|
|
|
WHERE |
|
|
|
@ -55,7 +55,7 @@ |
|
|
|
<!-- 获取网格内党员的联系群众能力考评分(平均值)的最大值,最小值 --> |
|
|
|
<select id="selectListGridContactMassesAvgValue" parameterType="com.epmet.dto.indexcal.CalculateCommonFormDTO" resultType="java.math.BigDecimal"> |
|
|
|
SELECT |
|
|
|
AVG( SCORE ) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
round(AVG( SCORE ),6) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
FROM |
|
|
|
fact_index_cpc_score m |
|
|
|
WHERE |
|
|
|
@ -70,7 +70,7 @@ |
|
|
|
<!-- 网格内党员的参与议事能力考评分(平均值) 最大值最小值 --> |
|
|
|
<select id="selectListJoinIssueAvgValue" parameterType="com.epmet.dto.indexcal.CalculateCommonFormDTO" resultType="java.math.BigDecimal"> |
|
|
|
SELECT |
|
|
|
AVG( SCORE ) AS AVG_JOIN_ISSUE_SCORE |
|
|
|
round(AVG( SCORE ),6) AS AVG_JOIN_ISSUE_SCORE |
|
|
|
FROM |
|
|
|
fact_index_cpc_score m |
|
|
|
WHERE |
|
|
|
@ -85,7 +85,7 @@ |
|
|
|
<!-- --> |
|
|
|
<select id="selectGridJoinIssueAvgValue" parameterType="map" resultType="java.math.BigDecimal"> |
|
|
|
SELECT |
|
|
|
AVG( SCORE ) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
round(AVG( SCORE ),6) AS AVG_CONTACT_MASSES_SCORE |
|
|
|
FROM |
|
|
|
fact_index_cpc_score m |
|
|
|
WHERE |
|
|
|
|