|
|
@ -266,8 +266,7 @@ public class CpcIndexCalculateServiceImpl implements CpcIndexCalculateService { |
|
|
|
cpcScoreEntity.setScore(new BigDecimal(NumConstant.ZERO)); |
|
|
|
cpcScoreEntity.setIndexCode(parentIndexCode); |
|
|
|
cpcScoreEntity.setAllParentIndexCode(value.getAllParentIndexCode()); |
|
|
|
String vallPath = value.getAllParentIndexCode().concat(StrConstant.COLON).concat(parentIndexCode); |
|
|
|
BigDecimal weight = indexGroupDetailService.getWeightByAllPathIndexCode(formDTO.getCustomerId(), vallPath); |
|
|
|
BigDecimal weight = indexGroupDetailService.getWeightByAllPathIndexCode(formDTO.getCustomerId(), value.getAllParentIndexCode()); |
|
|
|
cpcScoreEntity.setWeight(weight); |
|
|
|
scoreEntityMap.put(userId, cpcScoreEntity); |
|
|
|
|
|
|
|