|
@ -219,6 +219,7 @@ public class CpcIndexCalculateServiceImpl implements CpcIndexCalculateService { |
|
|
List<Map<String, Object>> list = null; |
|
|
List<Map<String, Object>> list = null; |
|
|
groupIndexDetailsMap.keySet().forEach(indexCode -> deleteOldData(formDTO, indexCode)); |
|
|
groupIndexDetailsMap.keySet().forEach(indexCode -> deleteOldData(formDTO, indexCode)); |
|
|
do { |
|
|
do { |
|
|
|
|
|
//以党员userId为单位 获取数量
|
|
|
list = factIndexPartyAblityCpcMonthlyDao.getCountByMonthId(formDTO.getCustomerId(), formDTO.getMonthId(),(pageNo - 1) * pageSize, pageSize, |
|
|
list = factIndexPartyAblityCpcMonthlyDao.getCountByMonthId(formDTO.getCustomerId(), formDTO.getMonthId(),(pageNo - 1) * pageSize, pageSize, |
|
|
formDTO.getCustomerAreaCode(),formDTO.getSubCustomerIds()); |
|
|
formDTO.getCustomerAreaCode(),formDTO.getSubCustomerIds()); |
|
|
if (!CollectionUtils.isEmpty(list)) { |
|
|
if (!CollectionUtils.isEmpty(list)) { |
|
@ -304,7 +305,7 @@ public class CpcIndexCalculateServiceImpl implements CpcIndexCalculateService { |
|
|
} |
|
|
} |
|
|
log.info("计算的参数:{}", JSON.toJSONString(indexMap)); |
|
|
log.info("计算的参数:{}", JSON.toJSONString(indexMap)); |
|
|
HashMap<String, CalculateResult> result = calculateScore(indexMap); |
|
|
HashMap<String, CalculateResult> result = calculateScore(indexMap); |
|
|
log.info("计算的结果:{}", result); |
|
|
log.info("计算的结果:{}", JSON.toJSONString(result)); |
|
|
|
|
|
|
|
|
//处理结果
|
|
|
//处理结果
|
|
|
if (CollectionUtils.isEmpty(result)) { |
|
|
if (CollectionUtils.isEmpty(result)) { |
|
|