mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
fix: DynamicTableProcessor 兼容低版本 API。
This commit is contained in:
parent
19ae7ecdb6
commit
aee8b0eb4b
@ -19,6 +19,15 @@ import com.mybatisflex.core.dialect.OperateType;
|
||||
|
||||
public interface DynamicTableProcessor {
|
||||
|
||||
String process(String tableName, OperateType operateType);
|
||||
/**
|
||||
* @deprecated 使用 {@link #process(String, OperateType)} 方法代替。
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
String process(String tableName);
|
||||
|
||||
default String process(String tableName, OperateType operateType) {
|
||||
return process(tableName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user