分页 排序 拆分
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user