提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm.quartz.mapper; |
懒 |
2 |
|
|
3 |
import java.util.List; |
|
4 |
import com.jcdm.quartz.domain.SysJobLog; |
|
5 |
|
|
6 |
/** |
|
7 |
* 调度任务日志信息 数据层 |
|
8 |
* |
|
9 |
* @author jc |
|
10 |
*/ |
|
11 |
public interface SysJobLogMapper |
|
12 |
{ |
|
13 |
/** |
|
14 |
* 获取quartz调度器日志的计划任务 |
|
15 |
* |
|
16 |
* @param jobLog 调度日志信息 |
|
17 |
* @return 调度任务日志集合 |
|
18 |
*/ |
|
19 |
public List<SysJobLog> selectJobLogList(SysJobLog jobLog); |
|
20 |
|
|
21 |
/** |
|
22 |
* 查询所有调度任务日志 |
|
23 |
* |
|
24 |
* @return 调度任务日志列表 |
|
25 |
*/ |
|
26 |
public List<SysJobLog> selectJobLogAll(); |
|
27 |
|
|
28 |
/** |
|
29 |
* 通过调度任务日志ID查询调度信息 |
|
30 |
* |
|
31 |
* @param jobLogId 调度任务日志ID |
|
32 |
* @return 调度任务日志对象信息 |
|
33 |
*/ |
|
34 |
public SysJobLog selectJobLogById(Long jobLogId); |
|
35 |
|
|
36 |
/** |
|
37 |
* 新增任务日志 |
|
38 |
* |
|
39 |
* @param jobLog 调度日志信息 |
|
40 |
* @return 结果 |
|
41 |
*/ |
|
42 |
public int insertJobLog(SysJobLog jobLog); |
|
43 |
|
|
44 |
/** |
|
45 |
* 批量删除调度日志信息 |
|
46 |
* |
|
47 |
* @param logIds 需要删除的数据ID |
|
48 |
* @return 结果 |
|
49 |
*/ |
|
50 |
public int deleteJobLogByIds(Long[] logIds); |
|
51 |
|
|
52 |
/** |
|
53 |
* 删除任务日志 |
|
54 |
* |
|
55 |
* @param jobId 调度日志ID |
|
56 |
* @return 结果 |
|
57 |
*/ |
|
58 |
public int deleteJobLogById(Long jobId); |
|
59 |
|
|
60 |
/** |
|
61 |
* 清空任务日志 |
|
62 |
*/ |
|
63 |
public void cleanJobLog(); |
|
64 |
} |