|
|
@ -161,8 +161,8 @@ public class IndexCalculateStreetServiceImpl implements IndexCalculateStreetServ |
|
|
scoreEntity.setSelfScore(new BigDecimal(0)); |
|
|
scoreEntity.setSelfScore(new BigDecimal(0)); |
|
|
scoreEntity.setSubScore(new BigDecimal(0)); |
|
|
scoreEntity.setSubScore(new BigDecimal(0)); |
|
|
scoreEntity.setParentIndexCode(index.getIndexCode()); |
|
|
scoreEntity.setParentIndexCode(index.getIndexCode()); |
|
|
scoreEntity.setSubWeight(weightMap.get(ProjectConstant.XIA_JI)); |
|
|
scoreEntity.setSubWeight(weightMap.getOrDefault(ProjectConstant.XIA_JI, new BigDecimal(0))); |
|
|
scoreEntity.setSelfWeight(weightMap.get(ProjectConstant.ZI_SHEN)); |
|
|
scoreEntity.setSelfWeight(weightMap.getOrDefault(ProjectConstant.ZI_SHEN, new BigDecimal(0))); |
|
|
} |
|
|
} |
|
|
BigDecimal partScore = score.getScore().multiply(score.getWeight()); |
|
|
BigDecimal partScore = score.getScore().multiply(score.getWeight()); |
|
|
if (selfSubParentMap.get(ProjectConstant.XIA_JI).contains(score.getIndexCode())) { |
|
|
if (selfSubParentMap.get(ProjectConstant.XIA_JI).contains(score.getIndexCode())) { |
|
|
|