|
@@ -113,13 +113,6 @@ public class GameOneClient {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- LambdaQueryWrapper<AppGameClassify> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
- queryWrapper.eq(AppGameClassify::getCode, classCode);
|
|
|
|
- AppGameClassify appGameClassify = appGameClassifyService.getOne(queryWrapper);
|
|
|
|
- if(appGameClassify == null){
|
|
|
|
- System.out.println("开奖游戏平台不存在:" + classCode);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if(gameDataArry == null){
|
|
if(gameDataArry == null){
|
|
System.out.println("游戏socket推送倒计时,data对象为空。");
|
|
System.out.println("游戏socket推送倒计时,data对象为空。");
|
|
return;
|
|
return;
|
|
@@ -130,6 +123,13 @@ public class GameOneClient {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ LambdaQueryWrapper<AppGameClassify> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
+ queryWrapper.eq(AppGameClassify::getCode, classCode);
|
|
|
|
+ AppGameClassify appGameClassify = appGameClassifyService.getOne(queryWrapper);
|
|
|
|
+ if(appGameClassify == null){
|
|
|
|
+ System.out.println("开奖游戏平台不存在:" + classCode);
|
|
|
|
+ }
|
|
|
|
+
|
|
for (int i = 0; i < gameDataArry.size(); i++) {
|
|
for (int i = 0; i < gameDataArry.size(); i++) {
|
|
JSONObject jsonObject = gameDataArry.getJSONObject(i);
|
|
JSONObject jsonObject = gameDataArry.getJSONObject(i);
|
|
String gameCode = jsonObject.getString("id");
|
|
String gameCode = jsonObject.getString("id");
|
|
@@ -214,6 +214,17 @@ public class GameOneClient {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ LambdaQueryWrapper<AppGameLottery> queryLotteryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
+ queryLotteryWrapper.eq(AppGameLottery::getClassId, appGame.getClassifyId());
|
|
|
|
+ queryLotteryWrapper.eq(AppGameLottery::getGameId, appGame.getId());
|
|
|
|
+ queryLotteryWrapper.eq(AppGameLottery::getGameDate, gameDate);
|
|
|
|
+ long count = appGameLotteryService.count(queryLotteryWrapper);
|
|
|
|
+
|
|
|
|
+ if(count > 0){
|
|
|
|
+ System.out.println("游戏socket推送开奖,当前期已开过将,游戏编码:" + gameCode + ",期号:" + gameDate);
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+
|
|
Integer isLottery = gameLotteryObject.getInteger("isLottery");
|
|
Integer isLottery = gameLotteryObject.getInteger("isLottery");
|
|
String gameLotterySucc = gameLotteryObject.getString("gameLotterySucc");
|
|
String gameLotterySucc = gameLotteryObject.getString("gameLotterySucc");
|
|
|
|
|