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