mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
update mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/StrategyConfig.java.
fix:https://gitee.com/mybatis-flex/mybatis-flex/issues/I7VQW9 Signed-off-by: 王帅 <1474983351@qq.com>
This commit is contained in:
parent
c906936d03
commit
687037f75c
@ -122,7 +122,10 @@ public class StrategyConfig {
|
||||
* 获取表配置。
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user