提交 b9e2fefe authored 作者: 000516's avatar 000516 提交者: Coding

在计划分页查询时,按照日期、执行状态、上班时间排序

在计划分页查询时,按照日期、执行状态、上班时间排序
......@@ -155,7 +155,9 @@ public class ActivityPlanInfoDaoImpl implements ActivityPlanInfoDao {
qw.like(ActivityPlanInfoDo::getStoreName, wrapper.getStoreNameLike());
}
qw.eq(ActivityPlanInfoDo::getIsDelete, StatusType.VALID.getType());
qw.orderByDesc(ActivityPlanInfoDo::getDate,ActivityPlanInfoDo::getClockInTime);
qw.orderByDesc(ActivityPlanInfoDo::getDate)
.orderByAsc(ActivityPlanInfoDo::getPlanStatus)
.orderByDesc(ActivityPlanInfoDo::getClockInTime);
if (Objects.nonNull(wrapper.getLimitNum())){
qw.last(" limit "+wrapper.getLimitNum());
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论