mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
faa2980d0c
@ -122,7 +122,10 @@ public class StrategyConfig {
|
|||||||
* 获取表配置。
|
* 获取表配置。
|
||||||
*/
|
*/
|
||||||
public TableConfig getTableConfig(String tableName) {
|
public TableConfig getTableConfig(String tableName) {
|
||||||
TableConfig tableConfig = tableConfigMap == null ? null : tableConfigMap.get(tableName);
|
if (tableConfigMap == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
TableConfig tableConfig = tableConfigMap.get(tableName);
|
||||||
return tableConfig != null ? tableConfig : tableConfigMap.get(TableConfig.ALL_TABLES);
|
return tableConfig != null ? tableConfig : tableConfigMap.get(TableConfig.ALL_TABLES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user