|  | @@ -1,5 +1,6 @@
 | 
	
		
			
				|  |  |  package com.xunmei.job.task;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import cn.hutool.core.date.DateUtil;
 | 
	
		
			
				|  |  |  import cn.hutool.core.lang.UUID;
 | 
	
		
			
				|  |  |  import com.alibaba.fastjson2.JSON;
 | 
	
		
			
				|  |  |  import com.xunmei.common.core.web.domain.AjaxResult;
 | 
	
	
		
			
				|  | @@ -24,10 +25,10 @@ public class CoreEduTrainingTask {
 | 
	
		
			
				|  |  |          log.info("执行教育培训定时任务结束....,当前任务 id:{},当前时间:{},结果:{}", id, new Date(), JSON.toJSONString(result));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    public void buildEduTask(Integer cycle, Date date) {
 | 
	
		
			
				|  |  | +    public void buildEduTask(String cycle, String date) {
 | 
	
		
			
				|  |  |          String id = UUID.fastUUID().toString();
 | 
	
		
			
				|  |  |          log.info("开始执行教育培训定时任务,当前任务 id:{},周期:{},时间:{}", id, cycle, date);
 | 
	
		
			
				|  |  | -        AjaxResult result = remoteEduTrainingService.buildEduTask(cycle, date);
 | 
	
		
			
				|  |  | +        AjaxResult result = remoteEduTrainingService.buildEduTask(Integer.parseInt(cycle), DateUtil.parse(date));
 | 
	
		
			
				|  |  |          log.info("执行教育培训定时任务结束,当前任务 id:{},周期:{},时间:{},结果:{}", id, cycle, date, JSON.toJSONString(result));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |