|
|
@ -114,10 +114,10 @@ public class StatsPublicityServiceImpl implements StatsPublicityService { |
|
|
|
//如果不传时间 则统计数据为今天之前的数据和,否则统计的是截止到传入的日期数据的和
|
|
|
|
//入参有客户Id的则按客户Id执行,没有的则全部客户都执行
|
|
|
|
if (null != formDTO && StringUtils.isNotBlank(formDTO.getCustomerId())) { |
|
|
|
log.info("articleSummaryDailyStatsjob excute by customerId:{},dateId:{}", formDTO.getCustomerId(), dimIdBean.getDateId()); |
|
|
|
log.info("articleSummaryDailyStatsjob execute by customerId:{},dateId:{}", formDTO.getCustomerId(), dimIdBean.getDateId()); |
|
|
|
statsSummaryByCustomerId(dimIdBean, statsDateStr, formDTO.getCustomerId()); |
|
|
|
} else { |
|
|
|
log.info("articleSummaryDailyStatsjob excute all customer,dateId:{}", dimIdBean.getDateId()); |
|
|
|
log.info("articleSummaryDailyStatsjob execute all customer,dateId:{}", dimIdBean.getDateId()); |
|
|
|
int pageNo = NumConstant.ONE; |
|
|
|
int pageSize = NumConstant.ONE_HUNDRED; |
|
|
|
List<String> customerIdList = null; |
|
|
@ -164,13 +164,13 @@ public class StatsPublicityServiceImpl implements StatsPublicityService { |
|
|
|
if (null != formDTO && StringUtils.isNotBlank(formDTO.getCustomerId())) { |
|
|
|
//统计
|
|
|
|
try { |
|
|
|
log.debug("tagUsedDailyStatsjob excute by customerId:{},dateId:{}", formDTO.getCustomerId(), dimIdBean.getDateId()); |
|
|
|
log.info("tagUsedDailyStatsjob execute by customerId:{},dateId:{}", formDTO.getCustomerId(), dimIdBean.getDateId()); |
|
|
|
statsTagUsedDaily(statsDate, dimIdBean, formDTO.getCustomerId()); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error(String.format(ProjectConstant.STATS_FAILED_PREFIX, "tagUsedDailyStatsjob", formDTO.getCustomerId(), dimIdBean.getDateId()), e); |
|
|
|
} |
|
|
|
} else { |
|
|
|
log.debug("tagUsedDailyStatsjob excute all customerId,dateId:{}", dimIdBean.getDateId()); |
|
|
|
log.info("tagUsedDailyStatsjob execute all customerId,dateId:{}", dimIdBean.getDateId()); |
|
|
|
int pageNo = NumConstant.ONE; |
|
|
|
int pageSize = NumConstant.ONE_HUNDRED; |
|
|
|
List<String> customerIdList = null; |
|
|
|