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

mybatis-plus的@TableId注解不一定是IdType.AUTO #112

Open
CodeNoobLH opened this issue Mar 31, 2021 · 2 comments
Open

mybatis-plus的@TableId注解不一定是IdType.AUTO #112

CodeNoobLH opened this issue Mar 31, 2021 · 2 comments

Comments

@CodeNoobLH
Copy link

我意思是,主键id不一定是自增id,可能是UUID等其他类型,@TableId的值不应该直接在ftl写死

@CodeNoobLH
Copy link
Author

以及自动引包,不一定是import java.util.Date; 如果时间类型选用其他的话,会导错包的

@moshowgame
Copy link
Owner

moshowgame commented Apr 3, 2021 via email

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