|
@@ -155,7 +155,7 @@ public class AppGameBettingController extends BaseController{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- BigDecimal gameBettingAmountCheck = new BigDecimal("0");
|
|
|
+ BigDecimal gameBettingAmountCheck = new BigDecimal(appGame.getBettingMaxMoney() + "");
|
|
|
BigDecimal gameBettingAmountSum = appGameBettingService.getBettingAmount(gameBetting.getUserId(), gameBetting.getGameId(), appGame.getGameDate(), null);
|
|
|
BigDecimal gameBettingAmountAdd = gameBettingAmountSum.add(new BigDecimal(gameBetting.getBettingAmount() + ""));
|
|
|
if(gameBettingAmountAdd.compareTo(gameBettingAmountCheck) == 1){
|