懒羊羊
2024-01-31 e57a8990ae56f657a59c435a0613c5f7a8728003
提交 | 用户 | 时间
e57a89 1 package com.jcdm.generator.mapper;
2
3 import java.util.List;
4 import com.jcdm.generator.domain.GenTable;
5
6 /**
7  * 业务 数据层
8  * 
9  * @author jc
10  */
11 public interface GenTableMapper
12 {
13     /**
14      * 查询业务列表
15      * 
16      * @param genTable 业务信息
17      * @return 业务集合
18      */
19     public List<GenTable> selectGenTableList(GenTable genTable);
20
21     /**
22      * 查询据库列表
23      * 
24      * @param genTable 业务信息
25      * @return 数据库表集合
26      */
27     public List<GenTable> selectDbTableList(GenTable genTable);
28
29     /**
30      * 查询据库列表
31      * 
32      * @param tableNames 表名称组
33      * @return 数据库表集合
34      */
35     public List<GenTable> selectDbTableListByNames(String[] tableNames);
36
37     /**
38      * 查询所有表信息
39      * 
40      * @return 表信息集合
41      */
42     public List<GenTable> selectGenTableAll();
43
44     /**
45      * 查询表ID业务信息
46      * 
47      * @param id 业务ID
48      * @return 业务信息
49      */
50     public GenTable selectGenTableById(Long id);
51
52     /**
53      * 查询表名称业务信息
54      * 
55      * @param tableName 表名称
56      * @return 业务信息
57      */
58     public GenTable selectGenTableByName(String tableName);
59
60     /**
61      * 新增业务
62      * 
63      * @param genTable 业务信息
64      * @return 结果
65      */
66     public int insertGenTable(GenTable genTable);
67
68     /**
69      * 修改业务
70      * 
71      * @param genTable 业务信息
72      * @return 结果
73      */
74     public int updateGenTable(GenTable genTable);
75
76     /**
77      * 批量删除业务
78      * 
79      * @param ids 需要删除的数据ID
80      * @return 结果
81      */
82     public int deleteGenTableByIds(Long[] ids);
83 }