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
使用版本号为1.0的mybatisplus-maven-plugin生成代码,vo类中的主键属性字段上有两条注解@TableId(type = IdType.UUID)@TableField(value="B_ID")private String bId;实际使用时并没有将SQL中的bId映射成B_ID,需要手动修改为'@TableId(value="B_ID", type = IdType.UUID)'. 不知道是不是偶发,请知悉
1.0
mybatisplus-maven-plugin
@TableId(type = IdType.UUID)@TableField(value="B_ID")private String bId;
bId
B_ID
The text was updated successfully, but these errors were encountered:
1.0 已经不维护了,你可以尝试自己修改下生成器。或者升级为 2.x 最新版
Sorry, something went wrong.
No branches or pull requests
yangpengfei369 commentedJun 7, 2017
使用版本号为
1.0的mybatisplus-maven-plugin生成代码,vo类中的主键属性字段上有两条注解@TableId(type = IdType.UUID)@TableField(value="B_ID")private String bId;实际使用时并没有将SQL中的bId映射成B_ID,需要手动修改为'@TableId(value="B_ID", type = IdType.UUID)'.不知道是不是偶发,请知悉
The text was updated successfully, but these errors were encountered: