|
|
@ -2,6 +2,7 @@ package com.epmet.service.evaluationindex.extract.toscreen.impl; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
|
import com.epmet.commons.tools.distributedlock.DistributedLock; |
|
|
|
import com.epmet.commons.tools.distributedlock.LockConstants; |
|
|
|
import com.epmet.commons.tools.enums.EnvEnum; |
|
|
@ -229,6 +230,15 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { |
|
|
|
log.error("基层治理-难点赌点抽取到大屏失败,customerId为:" + customerId + "dateId为:" + dateId, e); |
|
|
|
} |
|
|
|
} |
|
|
|
try { |
|
|
|
//基层治理 - 热心市民 screen_party_user_rank_data
|
|
|
|
ScreenCentralZoneDataFormDTO param = new ScreenCentralZoneDataFormDTO(); |
|
|
|
param.setCustomerId(customerId); |
|
|
|
param.setDateId(dateId); |
|
|
|
screenGrassrootsGovernDataAbsorptionService.userScoreDataHub(param); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("大屏热心市民/党员得分数据写入失败,参数为:{}" + customerId+ StrConstant.HYPHEN +dateId, e); |
|
|
|
} |
|
|
|
} finally { |
|
|
|
latch.countDown(); |
|
|
|
log.info("extractDaily 2 thread run end ========= dateId:{},customerId:{}", dateId, customerId); |
|
|
@ -426,7 +436,8 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("党建引领抽取到大屏失败,参数为:" + JSON.toJSONString(formDTO), e); |
|
|
|
} |
|
|
|
try { |
|
|
|
//已经挪到天抽取的抽取里了
|
|
|
|
/* try { |
|
|
|
//基层治理 - 热心市民 screen_party_user_rank_data
|
|
|
|
ScreenCentralZoneDataFormDTO param = new ScreenCentralZoneDataFormDTO(); |
|
|
|
param.setCustomerId(customerId); |
|
|
@ -434,7 +445,7 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { |
|
|
|
screenGrassrootsGovernDataAbsorptionService.userScoreDataHub(param); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("大屏热心市民/党员得分数据写入失败,参数为:{}" + JSON.toJSONString(formDTO), e); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
try { |
|
|
|
// 项目(事件)数量分析按网格_按月统计
|
|
|
|
screenProjectQuantityGridMonthlyService.extractionProjectGridMonthly(customerId, monthId); |
|
|
|