|  | @ -156,6 +156,11 @@ public class DataCollectController extends BaseController {
 | 
	
		
			
				|  |  |             RsJobConfig obj = new RsJobConfig();
 | 
	
		
			
				|  |  |             BeanUtils.populate(obj, request.getParameterMap());
 | 
	
		
			
				|  |  |             obj.setValid("1");
 | 
	
		
			
				|  |  |             String time=request.getParameter("jobNextTime");
 | 
	
		
			
				|  |  |             SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
	
		
			
				|  |  |             if(df.parse(time).before(new Date())) {
 | 
	
		
			
				|  |  |                 return Result.error("任务开始时间不能小于当前时间");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             String cron = request.getParameter("cronExpression");
 | 
	
		
			
				|  |  |             String jobDataset = request.getParameter("jobDataset");
 | 
	
	
		
			
				|  | @ -175,7 +180,11 @@ public class DataCollectController extends BaseController {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             RsJobConfig obj = new RsJobConfig();
 | 
	
		
			
				|  |  |             BeanUtils.populate(obj, request.getParameterMap());
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             String time=request.getParameter("jobNextTime");
 | 
	
		
			
				|  |  |             SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
	
		
			
				|  |  |             if(df.parse(time).before(new Date())) {
 | 
	
		
			
				|  |  |                 return Result.error("任务开始时间不能小于当前时间");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             String cron = request.getParameter("cronExpression");
 | 
	
		
			
				|  |  |             String jobDataset = request.getParameter("jobDataset");
 | 
	
		
			
				|  |  |             return datacollect.updateJob(obj, cron, jobDataset);
 |