mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48: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;
|
||||
|
||||
@Override
|
||||
public BaseMapper<T> getMapper() {
|
||||
public M getMapper() {
|
||||
return mapper;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user