mybatis plus 多字段排序

var tasks = taskService.list(new LambdaQueryWrapper<Task>()
                    .eq(Task::getTermUuid, termUuid)
                    .orderByDesc(true, Task::getBeginTime, Task::getCreateTime));

 

posted on 2022-04-25 09:57  空明流光  阅读(5487)  评论(1编辑  收藏  举报

导航