소스 검색

修改排序

dos 2 달 전
부모
커밋
b25c9314c8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      game-business/src/main/java/com/game/business/controller/AppGameLotteryController.java

+ 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<>();