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

ProxyEntityAvailable 接口继承问题 #220

Closed
lzl1030152809 opened this issue May 25, 2024 · 7 comments
Closed

ProxyEntityAvailable 接口继承问题 #220

lzl1030152809 opened this issue May 25, 2024 · 7 comments

Comments

@lzl1030152809
Copy link

父类实现 ProxyEntityAvailable 接口,子类不继承时会报错 is not implements ProxyEntityAvailable
image
只找了子类实现的接口,未找父类实现的接口

@xuejmnet
Copy link
Collaborator

xuejmnet commented May 25, 2024

@lzl1030152809 您好请问是否可以发一下您现在的代码,因为正常情况下这个接口是无法做到继承的除非父类也不确定具体类型才可以

@lzl1030152809
Copy link
Author

public abstract class BaseModel<TEntity, TProxy extends ProxyEntity<TProxy, TEntity>> implements ProxyEntityAvailable<TEntity, TProxy> {
}
@xuejmnet

@xuejmnet
Copy link
Collaborator

@lzl1030152809 您先在子类手动实现一下我下个版本修复:)

@lzl1030152809
Copy link
Author

@xuejmnet 好的

@xuejmnet
Copy link
Collaborator

@lzl1030152809 主要这个接口实现可以通过插件快速实现所以没考虑到这个情况

@xuejmnet
Copy link
Collaborator

@lzl1030152809 2.0.19已经修复

@lzl1030152809
Copy link
Author

@xuejmnet 好的

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