|  | @ -5,6 +5,8 @@ import org.quartz.DisallowConcurrentExecution;
 | 
	
		
			
				|  |  | import org.quartz.Job;
 | 
	
		
			
				|  |  | import org.quartz.JobExecutionContext;
 | 
	
		
			
				|  |  | import org.quartz.JobExecutionException;
 | 
	
		
			
				|  |  | import org.slf4j.Logger;
 | 
	
		
			
				|  |  | import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | /**
 | 
	
	
		
			
				|  | @ -13,13 +15,17 @@ import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  | @DisallowConcurrentExecution
 | 
	
		
			
				|  |  | public class SynElectricRecordsJob implements Job {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     Logger logger = LoggerFactory.getLogger(SynElectricRecordsJob.class);
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private HzInterfaceService hzInterfaceService;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Override
 | 
	
		
			
				|  |  |     public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             logger.info("SynElectricRecordsJob start");
 | 
	
		
			
				|  |  |             hzInterfaceService.electricityTable(null);
 | 
	
		
			
				|  |  |             logger.info("SynElectricRecordsJob end");
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |         }
 |