|
@@ -22,7 +22,7 @@ public class XxlJobLogDaoImpl implements IXxlJobLogDao {
|
22
|
22
|
public SqlSessionTemplate sqlSessionTemplate;
|
23
|
23
|
|
24
|
24
|
@Override
|
25
|
|
- public List<XxlJobLog> pageList(int offset, int pagesize, int jobGroup, int jobId, Date triggerTimeStart, Date triggerTimeEnd) {
|
|
25
|
+ public List<XxlJobLog> pageList(int offset, int pagesize, int jobGroup, int jobId, Date triggerTimeStart, Date triggerTimeEnd, int logStatus) {
|
26
|
26
|
HashMap<String, Object> params = new HashMap<String, Object>();
|
27
|
27
|
params.put("offset", offset);
|
28
|
28
|
params.put("pagesize", pagesize);
|
|
@@ -30,12 +30,13 @@ public class XxlJobLogDaoImpl implements IXxlJobLogDao {
|
30
|
30
|
params.put("jobId", jobId);
|
31
|
31
|
params.put("triggerTimeStart", triggerTimeStart);
|
32
|
32
|
params.put("triggerTimeEnd", triggerTimeEnd);
|
|
33
|
+ params.put("logStatus", logStatus);
|
33
|
34
|
|
34
|
35
|
return sqlSessionTemplate.selectList("XxlJobLogMapper.pageList", params);
|
35
|
36
|
}
|
36
|
37
|
|
37
|
38
|
@Override
|
38
|
|
- public int pageListCount(int offset, int pagesize, int jobGroup, int jobId, Date triggerTimeStart, Date triggerTimeEnd) {
|
|
39
|
+ public int pageListCount(int offset, int pagesize, int jobGroup, int jobId, Date triggerTimeStart, Date triggerTimeEnd, int logStatus) {
|
39
|
40
|
HashMap<String, Object> params = new HashMap<String, Object>();
|
40
|
41
|
params.put("offset", offset);
|
41
|
42
|
params.put("pagesize", pagesize);
|
|
@@ -43,6 +44,7 @@ public class XxlJobLogDaoImpl implements IXxlJobLogDao {
|
43
|
44
|
params.put("jobId", jobId);
|
44
|
45
|
params.put("triggerTimeStart", triggerTimeStart);
|
45
|
46
|
params.put("triggerTimeEnd", triggerTimeEnd);
|
|
47
|
+ params.put("logStatus", logStatus);
|
46
|
48
|
|
47
|
49
|
return sqlSessionTemplate.selectOne("XxlJobLogMapper.pageListCount", params);
|
48
|
50
|
}
|