| 程序包 | 说明 |
|---|---|
| org.ssssssss.magicapi.dialect | |
| org.ssssssss.magicapi.interceptor | |
| org.ssssssss.magicapi.modules |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
SQLServerDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
SQLServer2005Dialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
PostgreSQLDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
OracleDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
MySQLDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
KingbaseSQLDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
DmDialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
String |
Dialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit)
获取分页sql
|
String |
DB2Dialect.getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit) |
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
SQLInterceptor.postHandle(BoundSql boundSql,
Object result,
RequestEntity requestEntity) |
default void |
SQLInterceptor.preHandle(BoundSql boundSql,
RequestEntity requestEntity)
1.1.1 新增
|
void |
DefaultSqlInterceptor.preHandle(BoundSql boundSql,
RequestEntity requestEntity) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
SQLModule.insert(BoundSql boundSql,
String primary) |
Object |
SQLModule.page(BoundSql boundSql) |
Object |
SQLModule.page(BoundSql boundSql,
Page page) |
List<Map<String,Object>> |
SQLModule.select(BoundSql boundSql) |
Integer |
SQLModule.selectInt(BoundSql boundSql) |
Map<String,Object> |
SQLModule.selectOne(BoundSql boundSql) |
int |
SQLModule.update(BoundSql boundSql) |
Copyright © 2020–2021. All rights reserved.