提交 | 用户 | 时间
|
e7c126
|
1 |
package com.xxl.job.admin.dao; |
H |
2 |
|
|
3 |
import com.xxl.job.admin.core.model.XxlJobGroup; |
|
4 |
import org.apache.ibatis.annotations.Mapper; |
|
5 |
import org.apache.ibatis.annotations.Param; |
|
6 |
|
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
/** |
|
10 |
* Created by xuxueli on 16/9/30. |
|
11 |
*/ |
|
12 |
@Mapper |
|
13 |
public interface XxlJobGroupDao { |
|
14 |
|
|
15 |
public List<XxlJobGroup> findAll(); |
|
16 |
|
|
17 |
public List<XxlJobGroup> findByAddressType(@Param("addressType") int addressType); |
|
18 |
|
|
19 |
public int save(XxlJobGroup xxlJobGroup); |
|
20 |
|
|
21 |
public int update(XxlJobGroup xxlJobGroup); |
|
22 |
|
|
23 |
public int remove(@Param("id") int id); |
|
24 |
|
|
25 |
public XxlJobGroup load(@Param("id") int id); |
|
26 |
|
|
27 |
public List<XxlJobGroup> pageList(@Param("offset") int offset, |
|
28 |
@Param("pagesize") int pagesize, |
|
29 |
@Param("appname") String appname, |
|
30 |
@Param("title") String title); |
|
31 |
|
|
32 |
public int pageListCount(@Param("offset") int offset, |
|
33 |
@Param("pagesize") int pagesize, |
|
34 |
@Param("appname") String appname, |
|
35 |
@Param("title") String title); |
|
36 |
|
|
37 |
} |