| 
					
				 | 
			
			
				@@ -3,6 +3,7 @@ package cn.com.ctop.job.kuaishou.data.service.impl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.constant.KuaishouConstant; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.entity.KuaishouAccountReportHourly; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.mapper.KuaishouAccountReportHourlyMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import cn.com.ctop.job.kuaishou.data.service.IKuaishouAccountReportDailyService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.service.IKuaishouAccountReportHourlyService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.utils.DateUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cn.com.ctop.job.kuaishou.data.utils.HttpUtils; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -33,6 +34,8 @@ public class KuaishouAccountReportHourlyServiceImpl extends ServiceImpl<Kuaishou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   private String postUrl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   private KuaishouAccountReportHourlyMapper accountReportHourlyMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  private IKuaishouAccountReportDailyService reportDailyService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   @Override 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -196,7 +199,8 @@ public class KuaishouAccountReportHourlyServiceImpl extends ServiceImpl<Kuaishou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       reportHourly.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       addList.add(reportHourly); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      accountReportHourlyMapper.replaceBatch(addList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    accountReportHourlyMapper.replaceBatch(addList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     log.info("账户时报数据获取完成:accountId:{}", advertiserId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    reportDailyService.sendMessage(advertiserId, startDate, endDate, "hourly"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |