update BaseMapper.page

This commit is contained in:
Timi
2025-12-03 10:40:50 +08:00
parent 745b3acfef
commit 7aadec7306
4 changed files with 97 additions and 41 deletions

View File

@ -32,7 +32,7 @@ public abstract class AbstractEntityService<T, P> implements BaseService<T, P> {
@Override
public PageResult<T> page(Page page) {
checkMapper();
return Page.toResult(baseMapper, page, new PageResult<>());
return baseMapper.page(page);
}
public void create(T t) {