mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
feat(*): 调整ServiceImpl#getMapper返回Mapper类型特化
Signed-off-by: Clownsw <msmliexx1@gmail.com>
This commit is contained in:
parent
0ac1b21556
commit
ee47ecb9e7
@ -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