|  | @@ -66,6 +66,9 @@ public class GameBackLogMediaSdkServiceImpl extends ServiceImpl<GameBackLogMedia
 | 
											
												
													
														|  |      @Autowired
 |  |      @Autowired
 | 
											
												
													
														|  |      private IAgentService agentService;
 |  |      private IAgentService agentService;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    @Autowired
 | 
											
												
													
														|  | 
 |  | +    private IGameService gameService;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      @Autowired
 |  |      @Autowired
 | 
											
												
													
														|  |      private IUserEventService userEventService;
 |  |      private IUserEventService userEventService;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -158,8 +161,10 @@ public class GameBackLogMediaSdkServiceImpl extends ServiceImpl<GameBackLogMedia
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      private boolean userEventTest(CallBackControlParam param, User user, Map<String, Object> resultMap) {
 |  |      private boolean userEventTest(CallBackControlParam param, User user, Map<String, Object> resultMap) {
 | 
											
												
													
														|  | 
 |  | +        //查询游戏信息
 | 
											
												
													
														|  | 
 |  | +        Game game = gameService.getById(user.getGameId());
 | 
											
												
													
														|  |          //判断是否测试过事件用户
 |  |          //判断是否测试过事件用户
 | 
											
												
													
														|  | -        if (userEventService.count(new LambdaQueryWrapper<UserEvent>()
 |  | 
 | 
											
												
													
														|  | 
 |  | +        if (!Objects.equals(game.getStatus(), 2) || userEventService.count(new LambdaQueryWrapper<UserEvent>()
 | 
											
												
													
														|  |                  .eq(UserEvent::getGameId, user.getGameId())
 |  |                  .eq(UserEvent::getGameId, user.getGameId())
 | 
											
												
													
														|  |                  .and(qw -> qw.eq(UserEvent::getUsername, user.getUsername())
 |  |                  .and(qw -> qw.eq(UserEvent::getUsername, user.getUsername())
 | 
											
												
													
														|  |                          .or().eq(UserEvent::getUsername, user.getOpenId())
 |  |                          .or().eq(UserEvent::getUsername, user.getOpenId())
 |