|
@ -6,7 +6,7 @@ |
|
|
<select id="selectCommunityAblityWeightScore" resultType="com.epmet.evaluationindex.screen.dto.result.AblityIndexResultDTO$ScoreListResultDTO"> |
|
|
<select id="selectCommunityAblityWeightScore" resultType="com.epmet.evaluationindex.screen.dto.result.AblityIndexResultDTO$ScoreListResultDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
fact.month_id AS "monthId", |
|
|
fact.month_id AS "monthId", |
|
|
ROUND(fact.score*fact.WEIGHT, 1) AS "indexTotal", |
|
|
ROUND(ROUND(fact.score,1)*fact.WEIGHT, 1) AS "indexTotal", |
|
|
fact.index_code AS "indexCode" |
|
|
fact.index_code AS "indexCode" |
|
|
FROM |
|
|
FROM |
|
|
fact_index_community_score fact |
|
|
fact_index_community_score fact |
|
@ -27,10 +27,10 @@ |
|
|
ROUND(ROUND(fact.score,1)*fact.WEIGHT, 1) AS "indexTotal", |
|
|
ROUND(ROUND(fact.score,1)*fact.WEIGHT, 1) AS "indexTotal", |
|
|
ROUND(fact.score,1) AS "indexTotalOriginScore", |
|
|
ROUND(fact.score,1) AS "indexTotalOriginScore", |
|
|
fact.WEIGHT AS "indexTotalSupWeight", |
|
|
fact.WEIGHT AS "indexTotalSupWeight", |
|
|
ROUND(self.self_score*fact.WEIGHT, 1) AS "agencyScore", |
|
|
ROUND(ROUND(self.self_score,1)*fact.WEIGHT, 1) AS "agencyScore", |
|
|
ROUND(self.self_score, 1) AS selfOriginScore, |
|
|
ROUND(self.self_score, 1) AS selfOriginScore, |
|
|
self.SELF_WEIGHT AS agencyWeight, |
|
|
self.SELF_WEIGHT AS agencyWeight, |
|
|
ROUND(self.sub_score*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
ROUND(ROUND(self.sub_score,1)*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
ROUND(self.sub_score, 1) AS subOriginScore, |
|
|
ROUND(self.sub_score, 1) AS subOriginScore, |
|
|
self.SUB_WEIGHT AS subAgencyWeight |
|
|
self.SUB_WEIGHT AS subAgencyWeight |
|
|
FROM |
|
|
FROM |
|
@ -50,11 +50,11 @@ |
|
|
<select id="selectCommunityMonthWeightScoreList" resultType="com.epmet.evaluationindex.screen.dto.result.MonthScoreListResultDTO$ScoreListResultDTO"> |
|
|
<select id="selectCommunityMonthWeightScoreList" resultType="com.epmet.evaluationindex.screen.dto.result.MonthScoreListResultDTO$ScoreListResultDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
fact.month_id AS "monthId", |
|
|
fact.month_id AS "monthId", |
|
|
ROUND(fact.score*fact.WEIGHT, 1) AS "indexTotal", |
|
|
ROUND(ROUND(fact.score,1)*fact.WEIGHT, 1) AS "indexTotal", |
|
|
ROUND(fact.score,1) AS "indexTotalOriginScore", |
|
|
ROUND(fact.score,1) AS "indexTotalOriginScore", |
|
|
fact.WEIGHT AS "indexTotalSupWeight", |
|
|
fact.WEIGHT AS "indexTotalSupWeight", |
|
|
ROUND(self.self_score*fact.WEIGHT, 1) AS "agencyScore", |
|
|
ROUND(ROUND(self.self_score,1)*fact.WEIGHT, 1) AS "agencyScore", |
|
|
ROUND(self.sub_score*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
ROUND(ROUND(self.sub_score,1)*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
fact.index_code AS "indexCode", |
|
|
fact.index_code AS "indexCode", |
|
|
self.SELF_WEIGHT AS "selfWeight", |
|
|
self.SELF_WEIGHT AS "selfWeight", |
|
|
self.SUB_WEIGHT AS "subWeight" |
|
|
self.SUB_WEIGHT AS "subWeight" |
|
|