调度重构

master
xueli.xue 9 years ago
commit 50c82a3c4f
  1. 4
      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");

Loading…
Cancel
Save