mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
feat: Spring的ServiceImpl#getMapper返回约束泛型类型
This commit is contained in:
parent
4bcfaf6e75
commit
c56a3d9740
@ -34,7 +34,7 @@ public class ServiceImpl<M extends BaseMapper<T>, T> implements IService<T> {
|
|||||||
protected M mapper;
|
protected M mapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BaseMapper<T> getMapper() {
|
public M getMapper() {
|
||||||
return mapper;
|
return mapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user