|
|
@ -322,8 +322,7 @@ public class IndexCalculateDistrictServiceImpl implements IndexCalculateDistrict |
|
|
|
score.setDataType(IndexCalConstant.DISTRICT_LEVEL); |
|
|
|
score.setIndexCode(IndexCodeEnum.QUAN_QU_XIANG_GUAN.getCode()); |
|
|
|
score.setAllParentIndexCode(NumConstant.ZERO_STR); |
|
|
|
BigDecimal weight = indexGroupDetailService.getWeightByAllPathIndexCode(customerId, score.getAllParentIndexCode().concat(StrConstant.COLON).concat(score.getIndexCode())); |
|
|
|
score.setWeight(weight); |
|
|
|
score.setWeight(new BigDecimal(NumConstant.ONE_NEG)); |
|
|
|
value.forEach(community -> { |
|
|
|
score.setScore(score.getScore().add(community.getScore())); |
|
|
|
score.setParentAgencyId(community.getParentAgencyId()); |
|
|
|