| 
						
						
						
					 | 
					@ -1,5 +1,6 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					package com.epmet.task; | 
					 | 
					 | 
					package com.epmet.task; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.constant.NumConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.utils.DateUtils; | 
					 | 
					 | 
					import com.epmet.commons.tools.utils.DateUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.utils.Result; | 
					 | 
					 | 
					import com.epmet.commons.tools.utils.Result; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.service.WorkDayInitService; | 
					 | 
					 | 
					import com.epmet.service.WorkDayInitService; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -27,7 +28,8 @@ public class WorkDayInitTask implements ITask { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						public void run(String params) { | 
					 | 
					 | 
						public void run(String params) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							log.info("WorkDayInitTask定时任务正在执行,参数为:{}", params); | 
					 | 
					 | 
							log.info("WorkDayInitTask定时任务正在执行,参数为:{}", params); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if (StringUtils.isBlank(params)){ | 
					 | 
					 | 
							if (StringUtils.isBlank(params)){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
								params = DateUtils.format(new Date(),DateUtils.DATE_PATTERN_YYYYMMDD); | 
					 | 
					 | 
								//没有参数默认 初始化明天的
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								params = DateUtils.format(DateUtils.addDateDays(new Date(), NumConstant.ONE),DateUtils.DATE_PATTERN_YYYYMMDD); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							} | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							Result result = workDayInitService.workDayInit(params); | 
					 | 
					 | 
							Result result = workDayInitService.workDayInit(params); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if (result.success()) { | 
					 | 
					 | 
							if (result.success()) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |