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
| package com.whyc.mapper;
|
| import java.util.List;
|
| /**
| * 通用mapper,用于通用数据的查询
| */
| public interface CommonMapper {
|
| /**
| * @param schema dbName
| * @param table tableName
| * @param field 这个字段对应的值类型为数值,则valuePrefix为null,如果不为数值,valuePrefix必须指定非数值的前缀
| //* @param valuePrefix null | String
| * @return
| */
| //Object getMaxValue(String schema,String table,String field,String valuePrefix);
| Object getMaxValue(String schema, String table, String field);
|
| String existTable(String dbName, String tableName);
|
|
| List<String> getTableListLike(String dbName, String tableLike);
|
| }
|
|