Skip to content
New issue

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

实体类没发生改变 结果 还是 修改了字段。 #19

Open
yanzhaoyl opened this issue Apr 1, 2022 · 3 comments
Open

实体类没发生改变 结果 还是 修改了字段。 #19

yanzhaoyl opened this issue Apr 1, 2022 · 3 comments

Comments

@yanzhaoyl
Copy link

使用技术栈, mybatis-plus 3.5.1 mybatis-enhance-actable 1.5.0.RELEASE

image

每次启动, age 字段 都 触发修改

@yanzhaoyl
Copy link
Author

实体类中Integer类型属性,每次都会更新此属性,数据库里读出来类型是int,而代码里解析出来却加上了长度int(11),所以每次比较对都不一样,每次启动都会更新一下表结构 -- 摘自其他人评论

@yanzhaoyl
Copy link
Author

初步推断和数据库版本有关系,换了个环境的数据库,就没状况了。

@zhouwm808
Copy link

我也有这个情况,并且修改代码修复,准备提pr,什么数据库版本是好的?

zhouwm808 added a commit to zhouwm808/A.CTable-Frame that referenced this issue Jun 1, 2022
zhouwm808 added a commit to zhouwm808/A.CTable-Frame that referenced this issue Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants