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

数据库中有联合主键会报错 #201

Open
ggvchen opened this issue Jul 20, 2019 · 0 comments
Open

数据库中有联合主键会报错 #201

ggvchen opened this issue Jul 20, 2019 · 0 comments

Comments

@ggvchen
Copy link

ggvchen commented Jul 20, 2019

数据库中有联合主键会报错,生成的model有多个@id注解的字段,报错:Caused by: tk.mybatis.mapper.MapperException: 继承 deleteByIds 方法的实体类[com.company.project.model.DeviceMulticastGroup]中必须只有一个带有 @id 注解的字段

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

1 participant