分页 排序 拆分

This commit is contained in:
2025-02-13 15:17:50 +08:00
parent 6f66bc8d43
commit 79d1f51a3f
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ import java.util.List;
public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, OperationLog> implements OperationLogService {
private QueryWrapper buildQueryWrapper(OperationLogDTO param) {
QueryWrapper queryWrapper = PageUtil.buildPageQueryWrapper();
QueryWrapper queryWrapper = PageUtil.buildSortQueryWrapper();
if (StrUtil.isNotEmpty(param.getOperation())) {
queryWrapper.like(OperationLog::getOperation, param.getOperation());
}