Browse Source

Merge remote-tracking branch 'remotes/origin/dev_screen_data_2.0' into dev_temp

dev
jianjun 5 years ago
parent
commit
dccc9a8b1b
  1. 6
      epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/AblityListResultDTO.java
  2. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexAgencySubScoreDao.xml
  3. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexCommunitySubScoreDao.xml
  4. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexGridSubScoreDao.xml

6
epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/AblityListResultDTO.java

@ -3,6 +3,7 @@ package com.epmet.evaluationindex.screen.dto.result;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal;
/** /**
* 按月查询各项指标数据--接口返参 * 按月查询各项指标数据--接口返参
@ -30,4 +31,9 @@ public class AblityListResultDTO implements Serializable {
*/ */
private String showType; private String showType;
/**
* 指标对应的权重
*/
private BigDecimal weight;
} }

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexAgencySubScoreDao.xml

@ -7,7 +7,8 @@
SELECT SELECT
fact.index_code AS "key", fact.index_code AS "key",
IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value", IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value",
dict.index_name AS "name" dict.index_name AS "name",
round(fact.WEIGHT,2) AS weight
FROM FROM
fact_index_agency_sub_score fact fact_index_agency_sub_score fact
LEFT JOIN index_dict dict ON fact.index_code = dict.index_code LEFT JOIN index_dict dict ON fact.index_code = dict.index_code

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexCommunitySubScoreDao.xml

@ -7,7 +7,8 @@
SELECT SELECT
fact.index_code AS "key", fact.index_code AS "key",
IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value", IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value",
dict.index_name AS "name" dict.index_name AS "name",
round(fact.WEIGHT,2) AS weight
FROM FROM
fact_index_community_sub_score fact fact_index_community_sub_score fact
LEFT JOIN index_dict dict ON fact.index_code = dict.index_code LEFT JOIN index_dict dict ON fact.index_code = dict.index_code

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/fact/FactIndexGridSubScoreDao.xml

@ -7,7 +7,8 @@
SELECT SELECT
fact.index_code AS "key", fact.index_code AS "key",
IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value", IF(fact.origin_value='',0,IFNULL(fact.origin_value,0)) AS "value",
dict.index_name AS "name" dict.index_name AS "name",
round(fact.WEIGHT,2) AS weight
FROM FROM
fact_index_grid_sub_score fact fact_index_grid_sub_score fact
LEFT JOIN index_dict dict ON fact.index_code = dict.index_code LEFT JOIN index_dict dict ON fact.index_code = dict.index_code

Loading…
Cancel
Save