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