|
@@ -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("投注次数已超过限额,无法下单。");
|
|
|
}
|
|
|
}
|