|
|
@ -73,6 +73,9 @@ public class ShiBeiICJobController { |
|
|
|
if (bizType.equals(BizTypeEnum.PROJECT.getType())) { |
|
|
|
this.agencyProjectStats(customerId, d); |
|
|
|
} |
|
|
|
if (bizType.equals(BizTypeEnum.GRID_PROJECT.getType())) { |
|
|
|
this.gridProjectStats(customerId, d); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@ -95,6 +98,26 @@ public class ShiBeiICJobController { |
|
|
|
new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Author sun |
|
|
|
* @Description 数据-项目-网格日(月)统计 |
|
|
|
**/ |
|
|
|
private void gridProjectStats(String customerId, String dateId) { |
|
|
|
try { |
|
|
|
if (StringUtils.isNotBlank(dateId)) { |
|
|
|
dateId = DateUtils.format(DateUtils.parseDate(dateId, DateUtils.DATE_PATTERN_YYYYMMDD)); |
|
|
|
} |
|
|
|
StatsFormDTO formDTO = new StatsFormDTO(); |
|
|
|
formDTO.setCustomerId(customerId); |
|
|
|
formDTO.setDate(dateId); |
|
|
|
|
|
|
|
statsProjectService.gridProjectStats(formDTO); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("网格项目日、月统计失败,参数为:{}" + customerId + StrConstant.HYPHEN + dateId, e); |
|
|
|
} |
|
|
|
new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
private void extractUserPointData(String customerId, String dateId) { |
|
|
|
try { |
|
|
|
//基层治理 - 热心市民 screen_party_user_rank_data
|
|
|
|