From 12ca3176f4c5287d301636a2a3331d20b36cbfc6 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Wed, 20 Nov 2019 18:23:01 +0800 Subject: [PATCH] update document --- .../src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java b/xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java index 3ab0caa3..a4b24dcc 100644 --- a/xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java +++ b/xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java @@ -4,8 +4,6 @@ import com.xxl.job.admin.core.model.XxlJobLog; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.ContextConfiguration; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.junit4.SpringRunner; import javax.annotation.Resource; @@ -51,7 +49,7 @@ public class XxlJobLogDaoTest { List> list2 = xxlJobLogDao.triggerCountByDay(new Date(new Date().getTime() + 30*24*60*60*1000), new Date()); - int ret4 = xxlJobLogDao.clearLog(1, 1, new Date(), 100); + List ret4 = xxlJobLogDao.findClearLogIds(1, 1, new Date(), 100, 100); int ret2 = xxlJobLogDao.delete(log.getJobId());