diff --git a/src/main/java/com/cmhi/gds/mapper/GameInfoMapper.java b/src/main/java/com/cmhi/gds/mapper/GameInfoMapper.java index 4c82cf0..4369b57 100644 --- a/src/main/java/com/cmhi/gds/mapper/GameInfoMapper.java +++ b/src/main/java/com/cmhi/gds/mapper/GameInfoMapper.java @@ -1,8 +1,6 @@ package com.cmhi.gds.mapper; import com.cmhi.gds.pojo.entry.GameInfo; -import com.cmhi.gds.pojo.entry.GameServer; -import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/src/main/java/com/cmhi/gds/mapper/GameServerMapper.java b/src/main/java/com/cmhi/gds/mapper/GameServerMapper.java index b73014e..0a943af 100644 --- a/src/main/java/com/cmhi/gds/mapper/GameServerMapper.java +++ b/src/main/java/com/cmhi/gds/mapper/GameServerMapper.java @@ -1,6 +1,5 @@ package com.cmhi.gds.mapper; -import com.cmhi.gds.pojo.entry.GameInfo; import com.cmhi.gds.pojo.entry.GameServer; import org.apache.ibatis.annotations.Param; diff --git a/src/main/java/com/cmhi/gds/service/impl/GameDatabaseServiceServiceImpl.java b/src/main/java/com/cmhi/gds/service/impl/GameDatabaseServiceServiceImpl.java index f1da076..424acfd 100644 --- a/src/main/java/com/cmhi/gds/service/impl/GameDatabaseServiceServiceImpl.java +++ b/src/main/java/com/cmhi/gds/service/impl/GameDatabaseServiceServiceImpl.java @@ -77,9 +77,7 @@ public class GameDatabaseServiceServiceImpl implements GameDatabaseServiceServic List allInfo = getGameTableItems(gameInfoIds); gameInfoIds.stream() .filter(v -> allInfo.stream().noneMatch(k -> k.getGameId().equals(v))) - .forEach(v -> { - ret.put(v, ErrorCode.ERR_NOSUCH_GAME); - }); + .forEach(v -> ret.put(v, ErrorCode.ERR_NOSUCH_GAME)); // 当前GAME所有已经存在的游戏信息 List gsList = gameDatabaseServiceManager.getGameServerInfoByGameInfoId(gameInfoIds);