Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 12ca3176
authored
Nov 20, 2019
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update document
1 parent
e73be817
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java
xxl-job-admin/src/test/java/com/xxl/job/admin/dao/XxlJobLogDaoTest.java
View file @
12ca317
...
@@ -4,8 +4,6 @@ import com.xxl.job.admin.core.model.XxlJobLog;
...
@@ -4,8 +4,6 @@ import com.xxl.job.admin.core.model.XxlJobLog;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.junit.runner.RunWith
;
import
org.springframework.boot.test.context.SpringBootTest
;
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
org.springframework.test.context.junit4.SpringRunner
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -51,7 +49,7 @@ public class XxlJobLogDaoTest {
...
@@ -51,7 +49,7 @@ public class XxlJobLogDaoTest {
List
<
Map
<
String
,
Object
>>
list2
=
xxlJobLogDao
.
triggerCountByDay
(
new
Date
(
new
Date
().
getTime
()
+
30
*
24
*
60
*
60
*
1000
),
new
Date
());
List
<
Map
<
String
,
Object
>>
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
<
Long
>
ret4
=
xxlJobLogDao
.
findClearLogIds
(
1
,
1
,
new
Date
(),
100
,
100
);
int
ret2
=
xxlJobLogDao
.
delete
(
log
.
getJobId
());
int
ret2
=
xxlJobLogDao
.
delete
(
log
.
getJobId
());
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment