🔧 简化 errorLog 和 accessLog 模块的 VO

This commit is contained in:
YunaiV
2023-12-03 18:32:47 +08:00
parent e541fe6324
commit 30fef09eee
21 changed files with 185 additions and 654 deletions

View File

@ -28,7 +28,7 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
default PageResult<T> selectPage(PageParam pageParam, @Param("ew") Wrapper<T> queryWrapper) {
// 特殊:不分页,直接查询全部
if (PageParam.PAGE_SIZE_NONE.equals(pageParam.getPageNo())) {
if (PageParam.PAGE_SIZE_NONE.equals(pageParam.getPageSize())) {
List<T> list = selectList(queryWrapper);
return new PageResult<>(list, (long) list.size());
}