|
@@ -110,6 +110,18 @@ public class AppGameBettingTask {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if(gameCode.equals(Common.GAME_FOUR_CODE)){
|
|
|
+ if(state == null || state != 0){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if(gameCode.equals(Common.GAME_FIVE_CODE)){
|
|
|
+ if(state == null || state != 1){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
AppGameClassify appGameClassify = appGameClassifyService.getByCode(classCode);
|
|
|
if(appGameClassify == null){
|
|
|
// System.out.println("开奖游戏平台不存在:" + classCode);
|
|
@@ -131,12 +143,6 @@ public class AppGameBettingTask {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if(gameCode.equals(Common.GAME_FOUR_CODE)){
|
|
|
- if(state == null || state != 0){
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
AppGame appGame = codeGameMap.get(gameCode).get(0);
|
|
|
appGame.setGameTime(time);
|
|
|
appGameService.updateAppGame(appGame);
|