소스 검색

开奖记录修改

kk 2 주 전
부모
커밋
136a9dc6ac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      game-business/src/main/java/com/game/business/controller/AppGameBettingController.java

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

@@ -150,7 +150,7 @@ public class AppGameBettingController extends BaseController{
 
         Integer bettingCount = appGameBettingService.getBettingCount(gameBetting.getUserId(), gameBetting.getGameId(), appGame.getGameDate());
         if(bettingCount != null && bettingCount > 0 ){
-            if(bettingCount.intValue() >= appGame.getBettingCount().intValue()){
+            if(bettingCount.intValue() > appGame.getBettingCount().intValue()){
                 return HttpRet.fail("投注次数已超过限额,无法下单。");
             }
         }