Browse Source

Merge remote-tracking branch 'remotes/origin/dev_screen_data' into dev_temp

master
jianjun 5 years ago
parent
commit
f938b17a23
  1. 7
      epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/dto/screencoll/form/IndexDataMonthlyFormDTO.java
  2. 1
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcal/impl/GridCorreLationServiceImpl.java
  3. 3
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcoll/impl/FactIndexCollectServiceImpl.java

7
epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/dto/screencoll/form/IndexDataMonthlyFormDTO.java

@ -1,5 +1,6 @@
package com.epmet.dto.screencoll.form; package com.epmet.dto.screencoll.form;
import com.epmet.commons.tools.constant.NumConstant;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
@ -71,15 +72,15 @@ public class IndexDataMonthlyFormDTO implements Serializable {
/** /**
* 党建能力指数权重 * 党建能力指数权重
*/ */
private BigDecimal partyDevWeight; private BigDecimal partyDevWeight = new BigDecimal(NumConstant.ZERO);
/** /**
* 服务能力指数 权重 * 服务能力指数 权重
*/ */
private BigDecimal serviceAblityWeight; private BigDecimal serviceAblityWeight = new BigDecimal(NumConstant.ZERO);
/** /**
* 治理能力分数权重 * 治理能力分数权重
*/ */
private BigDecimal governAblityWeight; private BigDecimal governAblityWeight = new BigDecimal(NumConstant.ZERO);
} }

1
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcal/impl/GridCorreLationServiceImpl.java

@ -375,6 +375,7 @@ public class GridCorreLationServiceImpl implements GridCorreLationService {
gridSubScoreEntity.setIndexCode(detail.getIndexCode()); gridSubScoreEntity.setIndexCode(detail.getIndexCode());
gridSubScoreEntity.setAllParentIndexCode(detail.getAllParentIndexCode()); gridSubScoreEntity.setAllParentIndexCode(detail.getAllParentIndexCode());
gridSubScoreEntity.setScore(detail.getScore()); gridSubScoreEntity.setScore(detail.getScore());
gridSubScoreEntity.setWeight(detail.getWeight());
gridSubScoreList.add(gridSubScoreEntity); gridSubScoreList.add(gridSubScoreEntity);
} }
}); });

3
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcoll/impl/FactIndexCollectServiceImpl.java

@ -561,6 +561,9 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService {
for ( int i = 0; i < deptScore.getValue().size(); i++){ for ( int i = 0; i < deptScore.getValue().size(); i++){
// 区直街道的总分 就是 治理能力 // 区直街道的总分 就是 治理能力
monthlyFormDTO.setIndexTotal(deptScore.getValue().get(i).getScore()); monthlyFormDTO.setIndexTotal(deptScore.getValue().get(i).getScore());
// 多余的权重,赋0
monthlyFormDTO.setPartyDevWeight(deptScore.getValue().get(i).getWeight());
monthlyFormDTO.setServiceAblityWeight(deptScore.getValue().get(i).getWeight());
// 赋值 治理能力 // 赋值 治理能力
monthlyFormDTO = this.setValueAbilityMonthlyFor(deptScore.getValue().get(i).getIndexCode(), monthlyFormDTO = this.setValueAbilityMonthlyFor(deptScore.getValue().get(i).getIndexCode(),
deptScore.getValue().get(i).getWeight(), deptScore.getValue().get(i).getWeight(),

Loading…
Cancel
Save