Browse Source

调度重构

xueli.xue 9 years ago
parent
commit
50c82a3c4f

+ 2 - 2
xxl-job-admin/src/test/java/com/xxl/job/dao/impl/XxlJobInfoTest.java

@@ -39,13 +39,13 @@ public class XxlJobInfoTest {
 		System.out.println(count);
 		System.out.println(info.getId());
 		
-		XxlJobInfo item = xxlJobInfoDao.load(info.getId());
+		XxlJobInfo item = xxlJobInfoDao.load("job_name");
 		System.out.println(item);
 	}
 	
 	@Test
 	public void update(){
-		XxlJobInfo item = xxlJobInfoDao.load(2);
+		XxlJobInfo item = xxlJobInfoDao.load("job_name");
 		
 		item.setJobCron("jobCron2");
 		item.setJobData("jobData2");