mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
Merge pull request #423 from Aliothmoon/feat/geni
feat: 为Spring的ServiceImpl#getMapper返回具体的约束泛型类型
This commit is contained in:
commit
3938f8b809
@ -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