Skip to content

Commit

Permalink
Update auto-convert-enum.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dingqianwen authored Oct 15, 2024
1 parent 9995439 commit 779477f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/guides/auto-convert-enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class MybatisPlusAutoConfiguration {
return properties -> {
GlobalConfig globalConfig = properties.getGlobalConfig();
globalConfig.setBanner(false);
MybatisConfiguration configuration = new MybatisConfiguration();
MybatisPlusProperties.CoreConfiguration configuration = new MybatisPlusProperties.CoreConfiguration();
configuration.setDefaultEnumTypeHandler(MyEnumTypeHandler.class);
properties.setConfiguration(configuration);
};
Expand Down

0 comments on commit 779477f

Please sign in to comment.