kk преди 4 седмици
родител
ревизия
a6c2d6ca1b
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      game-business/src/main/java/com/game/business/controller/AppGameLotteryController.java

+ 4 - 0
game-business/src/main/java/com/game/business/controller/AppGameLotteryController.java

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