public interface SqlFilter
| Modifier and Type | Method and Description |
|---|---|
void |
filter(Connection conn,
BoundSql boundSql,
boolean returnGeneratedKey)
过滤
|
void filter(Connection conn, BoundSql boundSql, boolean returnGeneratedKey)
conn - ConnectionboundSql - BoundSql,包含SQL语句和参数,
可通过BoundSql.setSql(String)和BoundSql.setParams(List) 自定义SQL和参数returnGeneratedKey - 是否自动生成主键Copyright © 2024. All rights reserved.