|
@ -42,7 +42,8 @@ public class IndexOriginExtractServiceImpl implements IndexOriginExtractService |
|
|
private IndexCollCommunityService indexCollCommunityService; |
|
|
private IndexCollCommunityService indexCollCommunityService; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private IndexCollDistrictService indexCollDistrictService; |
|
|
private IndexCollDistrictService indexCollDistrictService; |
|
|
|
|
|
@Autowired |
|
|
|
|
|
private IndexCollDistrictDepartmentService indexCollDistrictDepartmentService; |
|
|
/** |
|
|
/** |
|
|
* desc:从统计库对象抽取指标数据 |
|
|
* desc:从统计库对象抽取指标数据 |
|
|
* |
|
|
* |
|
@ -87,7 +88,7 @@ public class IndexOriginExtractServiceImpl implements IndexOriginExtractService |
|
|
threadPool.submit(() -> { |
|
|
threadPool.submit(() -> { |
|
|
try { |
|
|
try { |
|
|
long startCpc = System.currentTimeMillis(); |
|
|
long startCpc = System.currentTimeMillis(); |
|
|
calCpcIndexService.calCpcPartyAbility(customerId, monthId); |
|
|
//calCpcIndexService.calCpcPartyAbility(customerId, monthId);
|
|
|
log.error("党员相关-党建能力执行完毕======总耗时:{}ms,customerId:{}",System.currentTimeMillis()-startCpc, param.getCustomerId()); |
|
|
log.error("党员相关-党建能力执行完毕======总耗时:{}ms,customerId:{}",System.currentTimeMillis()-startCpc, param.getCustomerId()); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
log.error("抽取【党员相关数据】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
log.error("抽取【党员相关数据】发生异常,参数:" + JSON.toJSONString(param), e); |
|
@ -117,6 +118,15 @@ public class IndexOriginExtractServiceImpl implements IndexOriginExtractService |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
log.error("抽取【网格服务能力数据】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
log.error("抽取【网格服务能力数据】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
|
//dimAgency
|
|
|
|
|
|
long startCommunity = System.currentTimeMillis(); |
|
|
|
|
|
indexCollCommunityService.saveCommunityAbility(customerId, monthId); |
|
|
|
|
|
log.error("社区相关-三大能力执行完毕======总耗时:{}ms,customerId:{}",System.currentTimeMillis()-startCommunity, param.getCustomerId()); |
|
|
|
|
|
}catch (Exception e){ |
|
|
|
|
|
log.error("抽取【社区治理能力-社区党建能力-服务能力】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
|
|
|
} |
|
|
try{ |
|
|
try{ |
|
|
//dimAgency
|
|
|
//dimAgency
|
|
|
long startStreet = System.currentTimeMillis(); |
|
|
long startStreet = System.currentTimeMillis(); |
|
@ -125,14 +135,18 @@ public class IndexOriginExtractServiceImpl implements IndexOriginExtractService |
|
|
}catch (Exception e){ |
|
|
}catch (Exception e){ |
|
|
log.error("抽取【街道治理能力-街道党建能力-服务能力】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
log.error("抽取【街道治理能力-街道党建能力-服务能力】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
try{ |
|
|
//dimAgency
|
|
|
//dimAgency
|
|
|
long startCommunity = System.currentTimeMillis(); |
|
|
long startDept = System.currentTimeMillis(); |
|
|
indexCollCommunityService.saveCommunityAbility(customerId, monthId); |
|
|
indexCollDistrictDepartmentService.saveDepartmentAbility(customerId, monthId); |
|
|
log.error("街道相关-三大能力执行完毕======总耗时:{}ms,customerId:{}",System.currentTimeMillis()-startCommunity, param.getCustomerId()); |
|
|
log.error("区直部门相关-治理能力执行完毕======总耗时:{}ms,customerId:{}",System.currentTimeMillis()-startDept, param.getCustomerId()); |
|
|
}catch (Exception e){ |
|
|
}catch (Exception e){ |
|
|
log.error("抽取【社区治理能力-社区党建能力-服务能力】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
log.error("抽取【区直部门治理能力】发生异常,参数:" + JSON.toJSONString(param), e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
try{ |
|
|
//dimAgency
|
|
|
//dimAgency
|
|
|
long startDistrict = System.currentTimeMillis(); |
|
|
long startDistrict = System.currentTimeMillis(); |
|
|