Browse Source

修改排序

dos 2 months ago
parent
commit
b25c9314c8

+ 1 - 1
game-business/src/main/java/com/game/business/controller/AppGameLotteryController.java

@@ -79,7 +79,7 @@ public class AppGameLotteryController extends BaseController{
             queryLotteryWrapper.between(AppGameLottery::getGameRecordDate, strDate + " 00:00:00", strDate + " 23:59:59");
         }
         queryLotteryWrapper.eq(AppGameLottery::getIsLottery, 1);
-        queryLotteryWrapper.orderByDesc(AppGameLottery::getGameDate);
+        queryLotteryWrapper.orderByDesc(AppGameLottery::getGameRecordDate).orderByDesc(AppGameLottery::getGameDate);
         List<AppGameLottery> list = appGameLotteryService.list(queryLotteryWrapper);
         List<AppGameLotteryVO> resultList = new ArrayList<>();