Merge pull request #323 from Clownsw/feature/adjust-service-impl

feat(*): 调整ServiceImpl#getMapper返回Mapper类型特化
This commit is contained in:
Michael Yang 2024-04-26 10:57:40 +08:00 committed by GitHub
commit 08df2957ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}