OCT 1. 更新代码规范
This commit is contained in:
parent
16b3872f63
commit
ba79c32441
|
@ -1,8 +1,6 @@
|
||||||
package com.cmhi.gds.mapper;
|
package com.cmhi.gds.mapper;
|
||||||
|
|
||||||
import com.cmhi.gds.pojo.entry.GameInfo;
|
import com.cmhi.gds.pojo.entry.GameInfo;
|
||||||
import com.cmhi.gds.pojo.entry.GameServer;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package com.cmhi.gds.mapper;
|
package com.cmhi.gds.mapper;
|
||||||
|
|
||||||
import com.cmhi.gds.pojo.entry.GameInfo;
|
|
||||||
import com.cmhi.gds.pojo.entry.GameServer;
|
import com.cmhi.gds.pojo.entry.GameServer;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
|
|
@ -77,9 +77,7 @@ public class GameDatabaseServiceServiceImpl implements GameDatabaseServiceServic
|
||||||
List<GameTableItemsDetail> allInfo = getGameTableItems(gameInfoIds);
|
List<GameTableItemsDetail> allInfo = getGameTableItems(gameInfoIds);
|
||||||
gameInfoIds.stream()
|
gameInfoIds.stream()
|
||||||
.filter(v -> allInfo.stream().noneMatch(k -> k.getGameId().equals(v)))
|
.filter(v -> allInfo.stream().noneMatch(k -> k.getGameId().equals(v)))
|
||||||
.forEach(v -> {
|
.forEach(v -> ret.put(v, ErrorCode.ERR_NOSUCH_GAME));
|
||||||
ret.put(v, ErrorCode.ERR_NOSUCH_GAME);
|
|
||||||
});
|
|
||||||
|
|
||||||
// 当前GAME所有已经存在的游戏信息
|
// 当前GAME所有已经存在的游戏信息
|
||||||
List<GameServer> gsList = gameDatabaseServiceManager.getGameServerInfoByGameInfoId(gameInfoIds);
|
List<GameServer> gsList = gameDatabaseServiceManager.getGameServerInfoByGameInfoId(gameInfoIds);
|
||||||
|
|
Loading…
Reference in New Issue