diff --git a/luoo_user/src/main/java/com/luoo/user/service/LotteryService.java b/luoo_user/src/main/java/com/luoo/user/service/LotteryService.java index 9ffc0da..180bd5d 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/LotteryService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/LotteryService.java @@ -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();