懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.base.db.service;
2
3 import cn.stylefeng.guns.base.db.entity.DatabaseInfo;
4 import cn.stylefeng.guns.base.db.model.params.DatabaseInfoParam;
5 import cn.stylefeng.guns.base.db.model.result.DatabaseInfoResult;
6 import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
7 import com.baomidou.mybatisplus.extension.service.IService;
8
9 import java.util.List;
10
11 /**
12  * <p>
13  * 数据库信息表 服务类
14  * </p>
15  *
16  * @author stylefeng
17  * @since 2019-06-15
18  */
19 public interface DatabaseInfoService extends IService<DatabaseInfo> {
20
21     /**
22      * 新增
23      *
24      * @author stylefeng
25      * @Date 2019-06-15
26      */
27     void add(DatabaseInfoParam param);
28
29     /**
30      * 删除
31      *
32      * @author stylefeng
33      * @Date 2019-06-15
34      */
35     void delete(DatabaseInfoParam param);
36
37     /**
38      * 更新
39      *
40      * @author stylefeng
41      * @Date 2019-06-15
42      */
43     void update(DatabaseInfoParam param);
44
45     /**
46      * 查询单条数据,Specification模式
47      *
48      * @author stylefeng
49      * @Date 2019-06-15
50      */
51     DatabaseInfoResult findBySpec(DatabaseInfoParam param);
52
53     /**
54      * 查询列表,Specification模式
55      *
56      * @author stylefeng
57      * @Date 2019-06-15
58      */
59     List<DatabaseInfoResult> findListBySpec(DatabaseInfoParam param);
60
61     /**
62      * 查询分页数据,Specification模式
63      *
64      * @author stylefeng
65      * @Date 2019-06-15
66      */
67     LayuiPageInfo findPageBySpec(DatabaseInfoParam param);
68
69 }