OCT 1. 更新代码规范

This commit is contained in:
黄昕 2023-11-10 11:11:09 +08:00
parent 16b3872f63
commit ba79c32441
3 changed files with 1 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -77,9 +77,7 @@ public class GameDatabaseServiceServiceImpl implements GameDatabaseServiceServic
List<GameTableItemsDetail> 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<GameServer> gsList = gameDatabaseServiceManager.getGameServerInfoByGameInfoId(gameInfoIds);