mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
Merge pull request #323 from Clownsw/feature/adjust-service-impl
feat(*): 调整ServiceImpl#getMapper返回Mapper类型特化
This commit is contained in:
commit
08df2957ba
@ -31,8 +31,8 @@ public class ServiceImpl<M extends BaseMapper<T>, T> implements IService<T> {
|
||||
protected M mapper;
|
||||
|
||||
@Override
|
||||
public BaseMapper<T> getMapper() {
|
||||
return mapper;
|
||||
public M getMapper() {
|
||||
return this.mapper;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user