public interface DeleteInterceptor extends DMInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
default ACTION.SWITCH |
after(JDBCRuntime runtime,
Run run,
boolean success,
int result,
long millis)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
before(JDBCRuntime runtime,
Run run)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
prepare(JDBCRuntime runtime,
String table,
ConfigStore configs,
String... conditions) |
default ACTION.SWITCH |
prepare(JDBCRuntime runtime,
String dest,
Object data,
boolean checkPrimary,
List<String> columns)
创建delete SQL之前,可以在这一步修改查询条件
|
default ACTION.SWITCH |
prepare(JDBCRuntime runtime,
String table,
Object obj,
String... columns) |
default ACTION.SWITCH |
prepare(JDBCRuntime runtime,
String table,
String key,
Collection values) |
order, sortdefault ACTION.SWITCH prepare(JDBCRuntime runtime, String dest, Object data, boolean checkPrimary, List<String> columns)
runtime - datasource/adapter/jdbctemplatedest - 表data - 对象columns - 需要更新的列default ACTION.SWITCH prepare(JDBCRuntime runtime, String table, ConfigStore configs, String... conditions)
default ACTION.SWITCH prepare(JDBCRuntime runtime, String table, String key, Collection values)
default ACTION.SWITCH prepare(JDBCRuntime runtime, String table, Object obj, String... columns)
default ACTION.SWITCH before(JDBCRuntime runtime, Run run)
runtime - datasource/adapter/jdbctemplaterun - 查询SQL(包含SQL体,查询条件,查询参数值)default ACTION.SWITCH after(JDBCRuntime runtime, Run run, boolean success, int result, long millis)
runtime - datasource/adapter/jdbctemplateresult - 影响行数run - 查询SQL(包含SQL体,查询条件,查询参数值)millis - 耗时Copyright © 2023. All rights reserved.