|
@@ -178,6 +178,10 @@ public class AppGameLotteryController extends BaseController{
|
|
return HttpRet.fail("权限不足,请联系管理员");
|
|
return HttpRet.fail("权限不足,请联系管理员");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(StringUtils.isNotBlank(appGameLottery.getGameDate())){
|
|
|
|
+ appGameLottery.setGameDate(appGameLottery.getGameDate().trim());
|
|
|
|
+ }
|
|
|
|
+
|
|
AppGameLottery dbAppGameLottery = appGameLotteryService.selectLottery(appGameLottery.getClassId(), appGameLottery.getGameId(), appGameLottery.getGameDate());
|
|
AppGameLottery dbAppGameLottery = appGameLotteryService.selectLottery(appGameLottery.getClassId(), appGameLottery.getGameId(), appGameLottery.getGameDate());
|
|
if(dbAppGameLottery != null && dbAppGameLottery.getIsLottery() == 1){
|
|
if(dbAppGameLottery != null && dbAppGameLottery.getIsLottery() == 1){
|
|
return HttpRet.fail("该游戏,当前期已自动开奖过了,不能手动开奖");
|
|
return HttpRet.fail("该游戏,当前期已自动开奖过了,不能手动开奖");
|