|  | @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
 | 
	
		
			
				|  |  |  import com.baomidou.mybatisplus.core.metadata.IPage;
 | 
	
		
			
				|  |  |  import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 | 
	
		
			
				|  |  |  import com.zanxiang.common.enums.GameCategoryEnum;
 | 
	
		
			
				|  |  | +import com.zanxiang.common.enums.GameStatusEnum;
 | 
	
		
			
				|  |  |  import com.zanxiang.common.utils.bean.BeanUtils;
 | 
	
		
			
				|  |  |  import com.zanxiang.manage.domain.dto.GameCategoryDTO;
 | 
	
		
			
				|  |  |  import com.zanxiang.manage.domain.dto.GameDTO;
 | 
	
	
		
			
				|  | @@ -335,7 +336,7 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements Ga
 | 
	
		
			
				|  |  |                      .classifyParent(map.get("classifyParent"))
 | 
	
		
			
				|  |  |                      .cpPaybackUrl(param.getCpPaybackUrl())
 | 
	
		
			
				|  |  |                      .gameUrl(param.getGameUrl())
 | 
	
		
			
				|  |  | -                    .status(1)
 | 
	
		
			
				|  |  | +                    .status(GameStatusEnum.UN_JOIN_UP.getStatus())
 | 
	
		
			
				|  |  |                      .createTime(LocalDateTime.now())
 | 
	
		
			
				|  |  |                      .updateTime(LocalDateTime.now())
 | 
	
		
			
				|  |  |                      .build();
 | 
	
	
		
			
				|  | @@ -411,11 +412,11 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements Ga
 | 
	
		
			
				|  |  |                  .eq(param.getGameCategoryId() != null, Game::getCategory, param.getGameCategoryId())
 | 
	
		
			
				|  |  |                  .eq(param.getH5GameId() != null, Game::getH5GameId, param.getH5GameId())
 | 
	
		
			
				|  |  |                  .eq(param.getGuideGameId() != null, Game::getGuideGameId, param.getGuideGameId())
 | 
	
		
			
				|  |  | +                .eq(Strings.isNotBlank(param.getStatus()), Game::getStatus, param.getStatus())
 | 
	
		
			
				|  |  |                  .apply(param.getGameClassifyId() != null && !Objects.equals(param.getIsParentClassify(), Boolean.TRUE),
 | 
	
		
			
				|  |  |                          "FIND_IN_SET({0}, classify)", String.valueOf(param.getGameClassifyId()))
 | 
	
		
			
				|  |  |                  .apply(param.getGameClassifyId() != null && Objects.equals(param.getIsParentClassify(), Boolean.TRUE),
 | 
	
		
			
				|  |  | -                        "FIND_IN_SET({0}, classifyParent)", String.valueOf(param.getGameClassifyId()))
 | 
	
		
			
				|  |  | -                .eq(param.getStatus() != null, Game::getStatus, param.getStatus())
 | 
	
		
			
				|  |  | +                        "FIND_IN_SET({0}, classify_parent)", String.valueOf(param.getGameClassifyId()))
 | 
	
		
			
				|  |  |                  .orderByDesc(Game::getCreateTime)
 | 
	
		
			
				|  |  |          ).convert(game -> this.toVo(game, cpMap, gameCategoryMap, gameMap));
 | 
	
		
			
				|  |  |      }
 |