| Constructor and Description |
|---|
SqlFilterChain() |
| Modifier and Type | Method and Description |
|---|---|
SqlFilterChain |
addChain(SqlFilter element) |
void |
filter(Connection conn,
BoundSql boundSql,
boolean returnGeneratedKey)
过滤
|
Iterator<SqlFilter> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SqlFilterChain addChain(SqlFilter element)
addChain in interface Chain<SqlFilter,SqlFilterChain>public void filter(Connection conn, BoundSql boundSql, boolean returnGeneratedKey)
SqlFilterfilter in interface SqlFilterconn - ConnectionboundSql - BoundSql,包含SQL语句和参数,
可通过BoundSql.setSql(String)和BoundSql.setParams(List) 自定义SQL和参数returnGeneratedKey - 是否自动生成主键Copyright © 2024. All rights reserved.