release: lottery根据发布时间排序

release-2024-04-25
huangyw 1 month ago
parent f1da3b4cb0
commit deef419f40

@ -494,7 +494,7 @@ public class LotteryService {
qLottery.publishTime
)).from(qLottery)
.where(booleanBuilder)
.orderBy(qLottery.createTime.desc())
.orderBy(qLottery.publishTime.desc())
.offset(pageable.getOffset())
.limit(pageable.getPageSize())
.fetch();

Loading…
Cancel
Save