|
@ -3,7 +3,10 @@ package com.epmet.service.impl; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
import com.epmet.dto.stats.ArticleGridPublishedSummaryDTO; |
|
|
import com.epmet.dto.stats.ArticleGridPublishedSummaryDTO; |
|
|
import com.epmet.entity.stats.*; |
|
|
import com.epmet.entity.stats.DimDepartmentEntity; |
|
|
|
|
|
import com.epmet.entity.stats.DimGridEntity; |
|
|
|
|
|
import com.epmet.entity.stats.FactArticlePublishedDepartmentDailyEntity; |
|
|
|
|
|
import com.epmet.entity.stats.FactArticlePublishedGridDailyEntity; |
|
|
import com.epmet.service.StatsPublicityService; |
|
|
import com.epmet.service.StatsPublicityService; |
|
|
import com.epmet.service.stats.*; |
|
|
import com.epmet.service.stats.*; |
|
|
import com.epmet.service.voice.ArticlePublishRangeService; |
|
|
import com.epmet.service.voice.ArticlePublishRangeService; |
|
@ -178,7 +181,7 @@ public class StatsPublicityServiceImpl implements StatsPublicityService { |
|
|
|
|
|
|
|
|
private void statsPublishedAgencyDaily(Date statsDate, DimIdGenerator.DimIdBean dimIdBean, String customerId, Map<String, ArticleGridPublishedSummaryDTO> agencySummaryMap) { |
|
|
private void statsPublishedAgencyDaily(Date statsDate, DimIdGenerator.DimIdBean dimIdBean, String customerId, Map<String, ArticleGridPublishedSummaryDTO> agencySummaryMap) { |
|
|
//获取所有客户
|
|
|
//获取所有客户
|
|
|
List<DimAgencyEntity> departmentDTOList = null;//dimAgencyService.getAgencyListByCustomerId(customerId);
|
|
|
List<DimDepartmentEntity> departmentDTOList = null;//dimAgencyService.getAgencyListByCustomerId(customerId);
|
|
|
if (CollectionUtils.isEmpty(departmentDTOList)) { |
|
|
if (CollectionUtils.isEmpty(departmentDTOList)) { |
|
|
log.warn("publicitySummary getAgencyListByCustomerId return empty,customerId:{}", customerId); |
|
|
log.warn("publicitySummary getAgencyListByCustomerId return empty,customerId:{}", customerId); |
|
|
return; |
|
|
return; |
|
|