|
|
@ -165,7 +165,13 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { |
|
|
|
// 党建引领 screen_party_branch_data,screen_party_link_masses_data
|
|
|
|
partyGuideService.partyGuideExtract(formDTO); |
|
|
|
|
|
|
|
//计算分数 todo 优化 手动创建线程池 控制任务数量
|
|
|
|
//基层治理 - 热心市民 screen_party_user_rank_data
|
|
|
|
ScreenCentralZoneDataFormDTO param = new ScreenCentralZoneDataFormDTO(); |
|
|
|
param.setCustomerId(customerId); |
|
|
|
param.setDateId(monthId); |
|
|
|
screenGrassrootsGovernDataAbsorptionService.userScoreDataHub(param); |
|
|
|
|
|
|
|
//此方法保持在最后即可 计算指标分数 todo 优化 手动创建线程池 控制任务数量
|
|
|
|
ExecutorService pool = Executors.newSingleThreadExecutor(); |
|
|
|
pool.submit(() -> { |
|
|
|
CalculateCommonFormDTO formDTO1 = new CalculateCommonFormDTO(); |
|
|
@ -177,9 +183,5 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { |
|
|
|
log.error("extractMonthly 计算分数异常,参数:{}", JSON.toJSONString(formDTO1)); |
|
|
|
} |
|
|
|
}); |
|
|
|
//基层治理 - 热心市民 screen_party_user_rank_data
|
|
|
|
ScreenCentralZoneDataFormDTO param = new ScreenCentralZoneDataFormDTO(); |
|
|
|
param.setCustomerId(customerId);param.setDateId(monthId); |
|
|
|
screenGrassrootsGovernDataAbsorptionService.userScoreDataHub(param); |
|
|
|
} |
|
|
|
} |
|
|
|