提交 36816759 authored 作者: 李秋林's avatar 李秋林

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

上级 a7ed4c8f
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论