提交 | 用户 | 时间
|
e7c126
|
1 |
package com.xxl.job.admin.dao; |
H |
2 |
|
|
3 |
import com.xxl.job.admin.core.model.XxlJobUser; |
|
4 |
import org.apache.ibatis.annotations.Mapper; |
|
5 |
import org.apache.ibatis.annotations.Param; |
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
/** |
|
9 |
* @author xuxueli 2019-05-04 16:44:59 |
|
10 |
*/ |
|
11 |
@Mapper |
|
12 |
public interface XxlJobUserDao { |
|
13 |
|
|
14 |
public List<XxlJobUser> pageList(@Param("offset") int offset, |
|
15 |
@Param("pagesize") int pagesize, |
|
16 |
@Param("username") String username, |
|
17 |
@Param("role") int role); |
|
18 |
public int pageListCount(@Param("offset") int offset, |
|
19 |
@Param("pagesize") int pagesize, |
|
20 |
@Param("username") String username, |
|
21 |
@Param("role") int role); |
|
22 |
|
|
23 |
public XxlJobUser loadByUserName(@Param("username") String username); |
|
24 |
|
|
25 |
public int save(XxlJobUser xxlJobUser); |
|
26 |
|
|
27 |
public int update(XxlJobUser xxlJobUser); |
|
28 |
|
|
29 |
public int delete(@Param("id") int id); |
|
30 |
|
|
31 |
} |