We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在Update 01.代码生成器新.md 中 @qmdx 添加了如下代码:
.dataSourceConfig(builder -> builder.typeConvertHandler((globalConfig, typeRegistry, metaInfo) -> { int typeCode = metaInfo.getJdbcType().TYPE_CODE; if (typeCode == Types.SMALLINT) { // 自定义类型转换 return DbColumnType.INTEGER; } return typeRegistry.getColumnType(metaInfo); }))
dataSourceConfig 方法在 mybatis-plus 的 3.5.3.1 版本中,使用3.5.1、3.5.2、3.5.3版本,上述代码都会报错提示找不到该方法。
The text was updated successfully, but these errors were encountered:
需要使用新版本代码生成器
Sorry, something went wrong.
No branches or pull requests
在Update 01.代码生成器新.md 中 @qmdx 添加了如下代码:
dataSourceConfig 方法在 mybatis-plus 的 3.5.3.1 版本中,使用3.5.1、3.5.2、3.5.3版本,上述代码都会报错提示找不到该方法。
The text was updated successfully, but these errors were encountered: