|
|
@ -25,14 +25,14 @@ |
|
|
|
SELECT |
|
|
|
fact.index_code AS "indexCode", |
|
|
|
ROUND(ROUND(fact.score,1)*fact.WEIGHT, 1) AS "indexTotal", |
|
|
|
ROUND(fact.score,1) AS "indexTotalOriginScoreBak", |
|
|
|
ROUND(self.self_score, 1)+ROUND(self.sub_score, 1) as indexTotalOriginScore, |
|
|
|
ROUND(fact.score,1) AS "indexTotalOriginScore", |
|
|
|
fact.WEIGHT AS "indexTotalSupWeight", |
|
|
|
ROUND(ROUND(self.self_score,1)*fact.WEIGHT, 1) AS "agencyScore", |
|
|
|
ROUND(self.self_score, 1) AS selfOriginScore, |
|
|
|
self.SELF_WEIGHT AS agencyWeight, |
|
|
|
ROUND(ROUND(self.sub_score,1)*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
|
ROUND(self.sub_score, 1) AS subOriginScore, |
|
|
|
ROUND(self.sub_score, 1) AS subOriginScoreBak, |
|
|
|
ROUND(fact.score,1)-ROUND(self.self_score, 1) as subOriginScore, |
|
|
|
self.SUB_WEIGHT AS subAgencyWeight |
|
|
|
FROM |
|
|
|
fact_index_community_score fact |
|
|
|