提交 | 用户 | 时间
|
e7c126
|
1 |
package com.xxl.job.admin.dao; |
H |
2 |
|
|
3 |
import com.xxl.job.admin.core.model.XxlJobInfo; |
|
4 |
import org.apache.ibatis.annotations.Mapper; |
|
5 |
import org.apache.ibatis.annotations.Param; |
|
6 |
|
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
|
|
10 |
/** |
|
11 |
* job info |
|
12 |
* @author xuxueli 2016-1-12 18:03:45 |
|
13 |
*/ |
|
14 |
@Mapper |
|
15 |
public interface XxlJobInfoDao { |
|
16 |
|
|
17 |
public List<XxlJobInfo> pageList(@Param("offset") int offset, |
|
18 |
@Param("pagesize") int pagesize, |
|
19 |
@Param("jobGroup") int jobGroup, |
|
20 |
@Param("triggerStatus") int triggerStatus, |
|
21 |
@Param("jobDesc") String jobDesc, |
|
22 |
@Param("executorHandler") String executorHandler, |
|
23 |
@Param("author") String author); |
|
24 |
public int pageListCount(@Param("offset") int offset, |
|
25 |
@Param("pagesize") int pagesize, |
|
26 |
@Param("jobGroup") int jobGroup, |
|
27 |
@Param("triggerStatus") int triggerStatus, |
|
28 |
@Param("jobDesc") String jobDesc, |
|
29 |
@Param("executorHandler") String executorHandler, |
|
30 |
@Param("author") String author); |
|
31 |
|
|
32 |
public int save(XxlJobInfo info); |
|
33 |
|
|
34 |
public XxlJobInfo loadById(@Param("id") int id); |
|
35 |
|
|
36 |
public int update(XxlJobInfo xxlJobInfo); |
|
37 |
|
|
38 |
public int delete(@Param("id") long id); |
|
39 |
|
|
40 |
public List<XxlJobInfo> getJobsByGroup(@Param("jobGroup") int jobGroup); |
|
41 |
|
|
42 |
public int findAllCount(); |
|
43 |
|
|
44 |
public List<XxlJobInfo> scheduleJobQuery(@Param("maxNextTime") long maxNextTime, @Param("pagesize") int pagesize ); |
|
45 |
|
|
46 |
public int scheduleUpdate(XxlJobInfo xxlJobInfo); |
|
47 |
|
|
48 |
|
|
49 |
} |