|
|
@ -26,7 +26,11 @@ |
|
|
|
fact.index_code AS "indexCode", |
|
|
|
ROUND(fact.score*fact.WEIGHT, 1) AS "indexTotal", |
|
|
|
ROUND(self.self_score*fact.WEIGHT, 1) AS "agencyScore", |
|
|
|
ROUND(self.sub_score*fact.WEIGHT, 1) AS "subAgencyScore" |
|
|
|
self.self_score AS selfOriginScore, |
|
|
|
self.SELF_WEIGHT AS agencyWeight, |
|
|
|
ROUND(self.sub_score*fact.WEIGHT, 1) AS "subAgencyScore", |
|
|
|
self.sub_score AS subOriginScore, |
|
|
|
self.SUB_WEIGHT AS subAgencyWeight |
|
|
|
FROM |
|
|
|
fact_index_community_score fact |
|
|
|
INNER JOIN fact_index_community_self_sub_score self ON fact.agency_id = self.agency_id |
|
|
|